aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/filesystemLayouts/filesystemLayouts.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/filesystemLayouts/filesystemLayouts.nix b/system/filesystemLayouts/filesystemLayouts.nix
index 2f7c8fc2..5992179a 100644
--- a/system/filesystemLayouts/filesystemLayouts.nix
+++ b/system/filesystemLayouts/filesystemLayouts.nix
@@ -4,23 +4,23 @@
...
}:
with lib; let
- cfg = config.system.filesystemLayout;
+ cfg = config.system.filesystemLayouts;
in {
- options = {
- cfg.enable = mkEnableOption (mdDoc "filesysetemLayout");
- cfg.mainDisk = mkOption {
+ options.system.filesystemLayouts = {
+ enable = mkEnableOption (mdDoc "filesysetemLayout");
+ mainDisk = mkOption {
type = lib.types.path;
example = literalExpression "/dev/disk/by-uuid/0442cb6d-f13a-4635-b487-fa76189774c5";
description = lib.mdDoc "Path to the main disk";
};
- cfg.efiDisk = mkOption {
+ efiDisk = mkOption {
type = lib.types.path;
example = literalExpression "/dev/disk/by-uuid/5143-6136";
description = lib.mdDoc "Path to the main disk";
};
};
- config = mkif cfg.enabled {
+ config = mkIf cfg.enable {
fileSystems = {
"/" = {
device = "none";