[Nix] Reorganizes files
This commit is contained in:
33
flake.nix
33
flake.nix
@@ -22,19 +22,26 @@
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
nixosConfigurations.drew-desktop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.drew = import ./home-manager/drew.nix;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
}
|
||||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
nixosConfigurations = {
|
||||
drew-desktop = (import ./system/hosts/drew-desktop) {
|
||||
inherit inputs;
|
||||
inherit self;
|
||||
inherit nixpkgs;
|
||||
};
|
||||
};
|
||||
# nixosConfigurations.drew-desktop = nixpkgs.lib.nixosSystem {
|
||||
# system = "x86_64-linux";
|
||||
# modules = [
|
||||
# ./configuration.nix
|
||||
# ./hardware-configuration.nix
|
||||
# inputs.home-manager.nixosModules.home-manager
|
||||
# {
|
||||
# home-manager.useGlobalPkgs = true;
|
||||
# home-manager.users.drew = import ./home-manager/drew.nix;
|
||||
# home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
# }
|
||||
# ];
|
||||
# specialArgs = { inherit inputs; };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user