add makefile
This commit is contained in:
parent
119f512d84
commit
75519eb6ab
2 changed files with 16 additions and 0 deletions
15
makefile
Normal file
15
makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
switchHm = home-manager switch --flake
|
||||
switchSys = nixos-rebuid switch --flake
|
||||
|
||||
nix-dev:
|
||||
nix develop --command $$SHELL
|
||||
|
||||
home-me: fix-systemd
|
||||
${switchHm} .#homeMe
|
||||
|
||||
sys-home:
|
||||
sudo ${switchSys} .#systemHome
|
||||
|
||||
fix-systemd:
|
||||
systemctl --user reset-failed
|
||||
|
|
@ -89,6 +89,7 @@ in
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnumake
|
||||
vim
|
||||
wget
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue