diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index fec31f48..d606f8eb 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -96,7 +96,7 @@ nrb = "nixos-rebuild build"; # Rebuild everything - rebuild-home = "home-manager switch -b backup --flake /etc/nixos//git"; + rebuild-home = "home-manager switch -b backup --flake /etc/nixos/git"; rebuild-host = "nixos-rebuild switch --flake /etc/nixos/git"; rebuild-all = "rebuild-home && rebuild-host"; }; diff --git a/lib/default.nix b/lib/default.nix index 8ca73bc5..07adadd1 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -2,6 +2,7 @@ # Helper function for generating home-manager configs mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration { # pkgs = inputs.nixpkgs.legacyPackages.${platform}; + pkgs = inputs.nixpkgs.${platform}; extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion; };