global/defaults: add file to override NixOS defaults

This commit is contained in:
Infinidoge 2023-09-21 11:15:16 -04:00
parent 77105c7da5
commit f3bcc06503

View file

@ -0,0 +1,9 @@
# Change NixOS defaults, generally because of stateVersion gates
{ lib, ... }:
let
inherit (lib) mkDefault mkForce;
in
{
# Defaults to `true` for stateVersion < 23.11
boot.swraid.enable = mkDefault false;
}