[Nix] Reorganizes files
This commit is contained in:
20
system/hosts/drew-desktop/default.nix
Normal file
20
system/hosts/drew-desktop/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ self, nixpkgs, inputs, ... }:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.users.drew = { pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(self + "/home-manager/drew.nix")
|
||||
];
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
}
|
||||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
}
|
||||
Reference in New Issue
Block a user