This commit is contained in:
Sridhar Ratnakumar 2021-09-17 14:48:11 -04:00
parent 3cd8b9ea57
commit b37fe38117

View file

@ -22,7 +22,7 @@
let
system = "x86_64-linux";
# Make configuration for any computer I use in my home office.
mkHomeMachine = bare: configurationNix: extraModules: nixpkgs.lib.nixosSystem {
mkHomeMachine = configurationNix: extraModules: nixpkgs.lib.nixosSystem {
inherit system;
# Arguments to pass to all modules.
specialArgs = { inherit system inputs; };
@ -45,7 +45,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.srid = import ./home.nix {
inherit inputs system bare;
inherit inputs system;
pkgs = import nixpkgs { inherit system; };
};
}
@ -58,7 +58,6 @@
#
nixosConfigurations = {
p71 = mkHomeMachine
false
./hosts/p71.nix
[
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p53
@ -81,9 +80,8 @@
./features/gnome.nix
./features/desktopish/guiapps.nix
];
facade = mkHomeMachine
true
./hosts/facade.nix
ryzen9 = mkHomeMachine
./hosts/ryzen9.nix
[
];
};