base wsl config added
This commit is contained in:
41
flake.nix
41
flake.nix
@@ -7,9 +7,10 @@
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, pydev }@inputs:
|
||||
outputs = { self, nixpkgs, home-manager, pydev, nixos-wsl, ... }@inputs:
|
||||
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
@@ -40,18 +41,34 @@
|
||||
# ./home-manager/autumn/sysconfs/lesbos.nix
|
||||
];
|
||||
};
|
||||
"autumn@wsl-hive" = home-manager.lib.homeManagerConfiguration{
|
||||
extraSpecialArgs = specialArgs;
|
||||
pkgs = pkgs;
|
||||
modules = [
|
||||
./home-manager/autumn/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/yukigekko/configuration.nix
|
||||
];
|
||||
};
|
||||
nixosConfigurations."lesbos" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/lesbos/configuration.nix
|
||||
];
|
||||
nixosConfigurations = {
|
||||
"yukigekko" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/yukigekko/configuration.nix
|
||||
];
|
||||
};
|
||||
"lesbos" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/lesbos/configuration.nix
|
||||
];
|
||||
};
|
||||
"wsl-hive" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
system = system;
|
||||
modules = [
|
||||
./system/wsl-hive/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user