about summary refs log tree commit diff
path: root/modules/system/btrfs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 19:01:08 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 19:01:08 -0700
commita8adeadf311cf877d7f53b7e006e247fbda4a4a6 (patch)
tree8e3466b6315b3b2a99e3e95639a6ae17d705ef40 /modules/system/btrfs
parentprofiles/hardware: create a few profiles related to hardware (diff)
downloadworld-a8adeadf311cf877d7f53b7e006e247fbda4a4a6.tar.gz
profiles: move things around for btrfs
Diffstat (limited to 'modules/system/btrfs')
-rw-r--r--modules/system/btrfs/default.nix14
1 files changed, 0 insertions, 14 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;
-    };
-}