Former-commit-id: c3b54c538f
This commit is contained in:
Hadi
2024-06-18 11:42:22 +02:00
committed by GitHub
parent fe01b971cf
commit 3038f62405
2 changed files with 25 additions and 7 deletions

View File

@@ -41,7 +41,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users."hadi" = import ./home/laptop.nix; # CHANGE ME
users."hadi" = import ./home/laptop.nix;
extraSpecialArgs = { inherit inputs; };
};
}
@@ -59,7 +59,25 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users."hadi" = import ./home/server.nix; # CHANGE ME
users."hadi" = import ./home/server.nix;
extraSpecialArgs = { inherit inputs; };
};
}
];
};
yourhostname = nixpkgs.lib.nixosSystem { #CHANGEME
system = "x86_64-linux";
modules = [
./hosts/yourhostname/configuration.nix #CHANGEME
inputs.home-manager.nixosModules.home-manager
{
nixpkgs.overlays = [ nur.overlay ];
_module.args = { inherit inputs; };
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users."yourusername" = import ./home/laptop.nix; #CHANGEME
extraSpecialArgs = { inherit inputs; };
};
}