aboutsummaryrefslogtreecommitdiffstats
path: root/sys/impermanence
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-11 18:33:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-11 18:33:18 +0200
commit1d4f3e7661e4246bec2ba47aae4f17ec15528ce3 (patch)
tree728bb6d01a4d40813281876db6498c68dcb7cccf /sys/impermanence
parentfix(sys/secrets): Remove unused serverphone secrets (diff)
downloadnixos-config-1d4f3e7661e4246bec2ba47aae4f17ec15528ce3.zip
fix(sys/boot): Use a disk backed directory to store the big iso
Diffstat (limited to 'sys/impermanence')
-rw-r--r--sys/impermanence/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/impermanence/default.nix b/sys/impermanence/default.nix
index 1ae35761..b0529bbc 100644
--- a/sys/impermanence/default.nix
+++ b/sys/impermanence/default.nix
@@ -9,8 +9,7 @@
"/etc/nixos"
"/var/log"
"/var/lib/systemd"
- # TODO: the following entries need to be checked
- #"/var/lib/nixos"
+ "/boot"
]
++ lib.optional config.networking.networkmanager.enable "/etc/NetworkManager"
++ lib.optional config.boot.lanzaboote.enable "/etc/secureboot"
@@ -25,6 +24,7 @@ in {
description = lib.mdDoc "Disk setup with disko";
};
};
+
config = lib.mkIf cfg.enable {
# needed for the hm impermanence config
programs.fuse.userAllowOther = true;