From 7caf3c0b67d86d2aa4ee0bbb61e33ed18610e52f Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 24 Oct 2024 01:15:40 -0400 Subject: [PATCH] global/persist: add /var/lib/systemd --- modules/global/persist.nix | 2 +- modules/modules/hardware/form.nix | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/global/persist.nix b/modules/global/persist.nix index 2ad0943..f0d7223 100644 --- a/modules/global/persist.nix +++ b/modules/global/persist.nix @@ -11,7 +11,7 @@ in "/var/log" "/var/lib/nixos" - "/var/lib/systemd/coredump" + "/var/lib/systemd/" { directory = "/var/lib/tailscale"; mode = "0700"; } "/root/.ssh" diff --git a/modules/modules/hardware/form.nix b/modules/modules/hardware/form.nix index 01425aa..4ccc74c 100644 --- a/modules/modules/hardware/form.nix +++ b/modules/modules/hardware/form.nix @@ -57,10 +57,6 @@ in variables.LAPTOP = "True"; systemPackages = with pkgs; [ acpi brightnessctl ] ++ optional config.powerManagement.powertop.enable pkgs.powertop; }; - - persist.directories = [ - "/var/lib/systemd/backlight" - ]; }) (mkIf cfg.portable {