Makefile : Separate install and install hm.
This commit is contained in:
parent
aa318344ad
commit
d3173001ce
8
Makefile
8
Makefile
|
@ -30,12 +30,14 @@ fix-hm:
|
||||||
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
||||||
|
|
||||||
install:
|
install:
|
||||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
curl -L https://nixos.org/nix/install | sh /dev/stdin --daemon
|
||||||
|
mkdir -p $$HOME/.config/nix
|
||||||
|
printf "experimental-features = nix-command flakes" > $$HOME/.config/nix/nix.conf
|
||||||
|
|
||||||
|
install-hm:
|
||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix-shell '<home-manager>' -A install
|
nix-shell '<home-manager>' -A install
|
||||||
mkdir -p $$HOME/.config/nix
|
|
||||||
printf "experimental-features = nix-command flakes" > $$HOME/.config/nix/nix.conf
|
|
||||||
|
|
||||||
.PHONY: home
|
.PHONY: home
|
||||||
home:
|
home:
|
||||||
|
|
Loading…
Reference in a new issue