From 08297376a85a1719518507e54fca9de954d2376a Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Thu, 23 May 2024 13:56:00 +0300 Subject: Agenix configuration --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..301b3ae --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +default: rebuild + +rebuild: + run0 nixos-rebuild switch --flake . + +update: + nix flake update + run0 nixos-rebuild switch --flake . + +format: + fd -e nix -x nixfmt --strict --verify + +clean: + run0 nix-env --delete-generations +2 --profile /nix/var/nix/profiles/system + run0 nix-store --gc + run0 nix-store --optimise + +validate: + run0 nix-store --repair --verify --check-contents + run0 nix-store --optimise + +index: + systemd-run --scope -p MemoryMax=20G --user nix-index + +firefoxaddons: + nix flake show "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons" -- cgit v1.2.3-70-g09d2