From a8adeadf311cf877d7f53b7e006e247fbda4a4a6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 19:01:08 -0700 Subject: profiles: move things around for btrfs --- modules/system/btrfs/default.nix | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 modules/system/btrfs/default.nix (limited to 'modules/system/btrfs') 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; - }; -} -- cgit 1.4.1