add makefile

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-30 02:48:21 +03:00
parent 119f512d84
commit 75519eb6ab
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 16 additions and 0 deletions

15
makefile Normal file
View 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

View file

@ -89,6 +89,7 @@ in
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnumake
vim vim
wget wget
]; ];