From a96b8ddf861497e0c5a1c2f5ed89fe1fb8f18c42 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Fri, 22 Aug 2025 21:13:03 -0500 Subject: [PATCH] delete --- systems/x86_64-linux/nas/impermanence.nix | 65 ----------------------- 1 file changed, 65 deletions(-) delete mode 100755 systems/x86_64-linux/nas/impermanence.nix diff --git a/systems/x86_64-linux/nas/impermanence.nix b/systems/x86_64-linux/nas/impermanence.nix deleted file mode 100755 index ae7a323..0000000 --- a/systems/x86_64-linux/nas/impermanence.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ ... }: -{ - # Set up impernance configuration for things like bluetooth - # In this configuration with /etc and /var/log being persistent, only directories outside of that need to be done here. See hardware configuration for all mountpoints. - - environment.persistence."/nix/persist/system" = { - hideMounts = true; - directories = [ - "/var/lib/bluetooth" - "/var/lib/nixos" - "/var/lib/tailscale" - "/var/lib/systemd/coredump" - "/etc/NetworkManager/system-connections" - "/etc/secureboot" - { - directory = "/var/lib/private/authentik/media"; - user = "authentik"; - group = "authentik"; - mode = "u=rwx,g=,o="; - } - { - directory = "/var/lib/private"; - mode = "u=rwx,g=rx,o="; - } - { - directory = "/var/lib/colord"; - user = "colord"; - group = "colord"; - mode = "u=rwx,g=rx,o="; - } - { - directory = "/etc/nix"; - user = "root"; - group = "wheel"; - mode = "u=rwx,g=rx,o=rx"; - } - { - directory = "/media/nas"; - user = "nas-apps"; - group = "jallen-nas"; - mode = "u=rwx,g=rx,o=rx"; - } - { - directory = "/var/lib/crowdsec"; - user = "crowdsec"; - group = "crowdsec"; - mode = "u=rwx,g=rwx,o=rx"; - } - { - directory = "/plugins-storage"; - user = "traefik"; - group = "traefik"; - mode = "u=rwx,g=rwx,o=rx"; - } - ]; - files = [ - "/var/cache-priv-key.pem" - ]; - }; - - security.sudo.extraConfig = '' - # rollback results in sudo lectures after each reboot - Defaults lecture = never - ''; -}