Makefile : Add home target.
This commit is contained in:
parent
7967abe7f8
commit
ac5c73f7eb
4
Makefile
4
Makefile
|
@ -32,6 +32,10 @@ install-hm:
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix-shell '<home-manager>' -A install
|
nix-shell '<home-manager>' -A install
|
||||||
|
|
||||||
|
.PHONY: home
|
||||||
|
home:
|
||||||
|
home-manager switch --flake $(flake)#$$USER
|
||||||
|
|
||||||
.PHONY: live
|
.PHONY: live
|
||||||
live:
|
live:
|
||||||
nix build -o live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage
|
nix build -o live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage
|
||||||
|
|
|
@ -246,7 +246,7 @@
|
||||||
{ home.hm.enable = true; }
|
{ home.hm.enable = true; }
|
||||||
{ home.hm.username = username; }
|
{ home.hm.username = username; }
|
||||||
{ home.hm.homeDirectory = homeDirectory; }
|
{ home.hm.homeDirectory = homeDirectory; }
|
||||||
{ home.hm.packages.core.enable = true; }
|
{ home.hm.package.core.enable = true; }
|
||||||
|
|
||||||
{ nixpkgs.config.allowUnfree = true; }
|
{ nixpkgs.config.allowUnfree = true; }
|
||||||
{ nixpkgs.config.allowUnfreePredicate = (pkg: true); }
|
{ nixpkgs.config.allowUnfreePredicate = (pkg: true); }
|
||||||
|
|
Loading…
Reference in a new issue