From 7d8501ebc97fc238d73dee4638ab58eb32a11dc1 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 20 Sep 2025 02:51:47 -0700 Subject: fix impermanence yet again --- config/nix.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/nix.org') diff --git a/config/nix.org b/config/nix.org index 614878f..b4b1b63 100644 --- a/config/nix.org +++ b/config/nix.org @@ -1195,7 +1195,7 @@ This is my impermanence profile, which removes all files on reboot except for th umount /btrfs_tmp '' else ""); - boot.initrd.luks.devices = (if (! (config.monorepo.vars.fileSystem == "btrfs")) then { + boot.initrd.luks.devices = (if (config.monorepo.vars.fileSystem == "btrfs") then { crypted = { device = "/dev/disk/by-partlabel/disk-main-luks"; }; @@ -3517,6 +3517,7 @@ standard. g = "git"; v = "vim"; py = "python3"; + build-installer = "nix build $HOME/monorepo/nix#nixosConfigurations.installer.config.system.build.isoImage"; rb = "sudo nixos-rebuild switch --flake $HOME/monorepo/nix#${systemHostName}"; nfu = "cd ~/monorepo/nix && git add . && git commit -m \"new flake lock\" && nix flake update"; usync = "rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@${config.monorepo.vars.remoteHost}:/var/www/${config.monorepo.vars.internetName}-website/"; -- cgit v1.3