global/persist: add /var/lib/systemd
This commit is contained in:
parent
f6c69611dd
commit
7caf3c0b67
2 changed files with 1 additions and 5 deletions
|
@ -11,7 +11,7 @@ in
|
||||||
|
|
||||||
"/var/log"
|
"/var/log"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/"
|
||||||
{ directory = "/var/lib/tailscale"; mode = "0700"; }
|
{ directory = "/var/lib/tailscale"; mode = "0700"; }
|
||||||
|
|
||||||
"/root/.ssh"
|
"/root/.ssh"
|
||||||
|
|
|
@ -57,10 +57,6 @@ in
|
||||||
variables.LAPTOP = "True";
|
variables.LAPTOP = "True";
|
||||||
systemPackages = with pkgs; [ acpi brightnessctl ] ++ optional config.powerManagement.powertop.enable pkgs.powertop;
|
systemPackages = with pkgs; [ acpi brightnessctl ] ++ optional config.powerManagement.powertop.enable pkgs.powertop;
|
||||||
};
|
};
|
||||||
|
|
||||||
persist.directories = [
|
|
||||||
"/var/lib/systemd/backlight"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf cfg.portable {
|
(mkIf cfg.portable {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue