From 829102167e61ece218c33b83141b81b78cdf6087 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 8 Aug 2022 03:53:33 -0600 Subject: sys/fs: move fs config out of sys/default.nix --- sys/options.nix | 80 --------------------------------------------------------- 1 file changed, 80 deletions(-) (limited to 'sys/options.nix') diff --git a/sys/options.nix b/sys/options.nix index 789b489..c266fd5 100644 --- a/sys/options.nix +++ b/sys/options.nix @@ -36,11 +36,6 @@ in { type = listOf str; }; - snapperSubvols = mkOption { - type = attrsOf str; - default = {}; - }; - crypt = { toplevel = mkOption { default = null; @@ -85,80 +80,5 @@ in { }); }; }; - - fs = { - boot.device = mkOption { - type = str; - }; - - btrfs = mkOption { - default = []; - - type = attrsOf (submodule { - options = { - device = mkOption { - type = str; - }; - - subvol = mkOption { - type = str; - }; - - ssd = mkOption { - type = bool; - }; - - snapper = mkOption { - type = nullOr str; - default = null; - }; - }; - }); - }; - - layout = mkOption { - default = {}; - - type = submodule { - options = { - sysHddBtrfs = mkOption { - default = null; - - type = nullOr (submodule { - options = { - sys = { - device = mkOption { - type = str; - }; - - ssd = mkOption { - type = bool; - }; - - root = mkOption { - type = str; - }; - - toplevel = mkOption { - type = str; - }; - }; - - hdd = { - device = mkOption { - type = str; - }; - - home = mkOption { - type = str; - }; - }; - }; - }); - }; - }; - }; - }; - }; }; } -- cgit v1.2.3