From b37fe381179eeb129286e2cffc5d5c86d4440d53 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 17 Sep 2021 14:48:11 -0400 Subject: [PATCH] fix --- flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 2524a42..b2df8ee 100644 --- a/flake.nix +++ b/flake.nix @@ -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 [ ]; };