From 4a976e8776335d48f4d4644c0a54516260f7b40a Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 19:41:37 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/bash.nix | 2 +- lib/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; };