summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 29fb0a5..9e83481 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,24 @@
])));
};
+ nixosConfigurations.wsl = nixpkgs.lib.nixosSystem {
+ inherit lib system;
+ specialArgs = {inherit inputs;};
+ modules = [
+ ({config, ... }: {
+ nixpkgs.overlays = with lib; [(composeManyExtensions [
+ (import ./overlays/vimPlugins.nix {inherit pkgs;})
+ (import ./overlays/suckless.nix {inherit pkgs; home = config.users.users.mike.home;})
+ ])];
+ })
+ ./machines/wsl.nix
+ ] ++ (attrValues
+ (attrsets.mergeAttrsList (map modulesIn [
+ ./profiles/core
+ ./profiles/station
+ ])));
+ };
+
templates = {
default = {
path = ./templates/flake;