diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-20 02:51:47 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-20 02:51:47 -0700 |
| commit | 7d8501ebc97fc238d73dee4638ab58eb32a11dc1 (patch) | |
| tree | ef918805a7ec4718682ebcc8664942ee669891f5 /config/nix.org | |
| parent | a4a80065fead83b89f79543719efcc3983781cee (diff) | |
fix impermanence yet again
Diffstat (limited to 'config/nix.org')
| -rw-r--r-- | config/nix.org | 3 |
1 files changed, 2 insertions, 1 deletions
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/"; |
