test
This commit is contained in:
parent
8878f794a5
commit
4a976e8776
2 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,7 @@
|
||||||
nrb = "nixos-rebuild build";
|
nrb = "nixos-rebuild build";
|
||||||
|
|
||||||
# Rebuild everything
|
# 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-host = "nixos-rebuild switch --flake /etc/nixos/git";
|
||||||
rebuild-all = "rebuild-home && rebuild-host";
|
rebuild-all = "rebuild-home && rebuild-host";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Helper function for generating home-manager configs
|
# Helper function for generating home-manager configs
|
||||||
mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration {
|
mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
# pkgs = inputs.nixpkgs.legacyPackages.${platform};
|
# pkgs = inputs.nixpkgs.legacyPackages.${platform};
|
||||||
|
pkgs = inputs.nixpkgs.${platform};
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs outputs desktop hostname platform username hmStateVersion;
|
inherit inputs outputs desktop hostname platform username hmStateVersion;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue