diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/btrfs/default.nix | 14 | ||||
-rw-r--r-- | modules/system/default.nix | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/modules/system/btrfs/default.nix b/modules/system/btrfs/default.nix deleted file mode 100644 index 3446b2c..0000000 --- a/modules/system/btrfs/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ lib, config, ... }: -let - cfg = config.my.systems.btrfs; -in -{ - options.my.systems.btrfs = with lib; { - enable = mkEnableOption "btrfs configuration"; - }; - - config = lib.mkIf cfg.enable - { - services.btrfs.autoScrub.enable = !config.virtualisation.libvirtd.enable; - }; -} diff --git a/modules/system/default.nix b/modules/system/default.nix index 0082c1b..586cae8 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -3,7 +3,6 @@ { imports = [ ./boot - ./btrfs ./users ]; } |