From 75519eb6ab1f28f9cfe4d5b859e70a30a8c1c9bc Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 30 Aug 2022 02:48:21 +0300 Subject: [PATCH] add makefile --- makefile | 15 +++++++++++++++ system/configuration.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..5a00808 --- /dev/null +++ b/makefile @@ -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 + diff --git a/system/configuration.nix b/system/configuration.nix index 003a3fb..1438621 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -89,6 +89,7 @@ in # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + gnumake vim wget ];