diff options
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"; }; |
