Makefile : Add home target.

This commit is contained in:
Dmitry Voronin 2024-08-30 12:08:52 +03:00
parent 7967abe7f8
commit ac5c73f7eb
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 5 additions and 1 deletions

View file

@ -32,6 +32,10 @@ install-hm:
nix-channel --update
nix-shell '<home-manager>' -A install
.PHONY: home
home:
home-manager switch --flake $(flake)#$$USER
.PHONY: live
live:
nix build -o live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage

View file

@ -246,7 +246,7 @@
{ home.hm.enable = true; }
{ home.hm.username = username; }
{ home.hm.homeDirectory = homeDirectory; }
{ home.hm.packages.core.enable = true; }
{ home.hm.package.core.enable = true; }
{ nixpkgs.config.allowUnfree = true; }
{ nixpkgs.config.allowUnfreePredicate = (pkg: true); }