Compare commits

...

3 commits

Author SHA1 Message Date
05063d120f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0638fe2715d998fa81d173aad264eb671ce2ebc1?narHash=sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg%3D' (2024-05-01)
  → 'github:NixOS/nixpkgs/383ffe076d9b633a2e97b6e4dd97fc15fcf30159?narHash=sha256-Q4ddhb5eC5pwci0QhAapFwnsc8X8H9ZMQiWpsofBsDc%3D' (2024-05-02)
2024-05-04 09:58:49 -04:00
0f0b917939 Fix scrub filesystems 2024-05-03 16:59:53 -04:00
e4857f1995 Temporarily prevent reboots during hdd test 2024-05-03 14:46:12 -04:00
4 changed files with 10 additions and 5 deletions

View file

@ -109,11 +109,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1714531828, "lastModified": 1714685007,
"narHash": "sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg=", "narHash": "sha256-Q4ddhb5eC5pwci0QhAapFwnsc8X8H9ZMQiWpsofBsDc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0638fe2715d998fa81d173aad264eb671ce2ebc1", "rev": "383ffe076d9b633a2e97b6e4dd97fc15fcf30159",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -23,7 +23,7 @@
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
allowReboot = true; allowReboot = lib.mkDefault true;
rebootWindow = { lower = "02:00"; upper = "06:00"; }; rebootWindow = { lower = "02:00"; upper = "06:00"; };
}; };
} }

View file

@ -86,7 +86,10 @@
}; };
hardware.openrgb.enable = true; hardware.openrgb.enable = true;
resolved.enable = true; resolved.enable = true;
btrfs.autoScrub.enable = true; btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" "/home" ];
};
}; };
hardware = { hardware = {
sane = { sane = {
@ -161,6 +164,7 @@
"/home".options = [ "compress=lzo" "autodefrag" "discard=async" "defaults" ]; "/home".options = [ "compress=lzo" "autodefrag" "discard=async" "defaults" ];
}; };
system.autoUpgrade.allowReboot = false;
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
} }

View file

@ -261,6 +261,7 @@
services.zfs.zed.enableMail = false; services.zfs.zed.enableMail = false;
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
system.autoUpgrade.allowReboot = false;
zramSwap.enable = true; zramSwap.enable = true;
} }