diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-11 18:33:18 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-11 18:33:18 +0200 |
commit | 1d4f3e7661e4246bec2ba47aae4f17ec15528ce3 (patch) | |
tree | 728bb6d01a4d40813281876db6498c68dcb7cccf /sys/impermanence/default.nix | |
parent | fix(sys/secrets): Remove unused serverphone secrets (diff) | |
download | nixos-config-1d4f3e7661e4246bec2ba47aae4f17ec15528ce3.tar.gz nixos-config-1d4f3e7661e4246bec2ba47aae4f17ec15528ce3.zip |
fix(sys/boot): Use a disk backed directory to store the big iso
Diffstat (limited to 'sys/impermanence/default.nix')
-rw-r--r-- | sys/impermanence/default.nix | 4 |
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; |