base: enable autoScrub for all btrfs machine by default

This commit is contained in:
h7x4
2026-06-05 13:21:22 +09:00
parent 8a290d30e7
commit 88892115b5
3 changed files with 3 additions and 4 deletions
+3
View File
@@ -1,4 +1,5 @@
{
config,
pkgs,
lib,
inputs,
@@ -56,6 +57,8 @@
boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
services.btrfs.autoScrub.enable = lib.mkDefault (lib.any ({ fsType, ... }: fsType == "btrfs") (lib.attrValues config.fileSystems));
time.timeZone = "Europe/Oslo";
i18n.defaultLocale = "en_US.UTF-8";