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 /nix | |
| parent | a4a80065fead83b89f79543719efcc3983781cee (diff) | |
fix impermanence yet again
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/modules/home/zsh.nix | 1 | ||||
| -rw-r--r-- | nix/modules/impermanence.nix | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nix/modules/home/zsh.nix b/nix/modules/home/zsh.nix index 574e6ac..78f2cc6 100644 --- a/nix/modules/home/zsh.nix +++ b/nix/modules/home/zsh.nix @@ -29,6 +29,7 @@ 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/"; diff --git a/nix/modules/impermanence.nix b/nix/modules/impermanence.nix index d728b6a..e2abf3d 100644 --- a/nix/modules/impermanence.nix +++ b/nix/modules/impermanence.nix @@ -32,7 +32,7 @@ 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"; }; |
