diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-27 10:25:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-27 10:25:24 +0200 |
commit | 9c7d2739767e52362a72981f0a10dbf5ae86b32d (patch) | |
tree | 1f47cad08e77a83125f93abd4b1885c3f3cf6718 /hosts/sif | |
parent | 54ab9e61fa8013cd02ea431a09e4ab83a8502815 (diff) | |
download | nixos-9c7d2739767e52362a72981f0a10dbf5ae86b32d.tar nixos-9c7d2739767e52362a72981f0a10dbf5ae86b32d.tar.gz nixos-9c7d2739767e52362a72981f0a10dbf5ae86b32d.tar.bz2 nixos-9c7d2739767e52362a72981f0a10dbf5ae86b32d.tar.xz nixos-9c7d2739767e52362a72981f0a10dbf5ae86b32d.zip |
...
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/default.nix | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index a0af9c29..19040b32 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -600,12 +600,6 @@ in { | |||
600 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" | 600 | SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", RUN+="${systemd}/bin/systemctl --no-block start ac-plugged.service" |
601 | ''; | 601 | ''; |
602 | 602 | ||
603 | services.btrfs.autoScrub = { | ||
604 | enable = true; | ||
605 | fileSystems = [ "/" "/home" ]; | ||
606 | interval = "weekly"; | ||
607 | }; | ||
608 | |||
609 | systemd.services."nix-daemon".serviceConfig = { | 603 | systemd.services."nix-daemon".serviceConfig = { |
610 | MemoryAccounting = true; | 604 | MemoryAccounting = true; |
611 | MemoryHigh = "50%"; | 605 | MemoryHigh = "50%"; |