cleanup
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
{ lib, namespace, ... }:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib.${namespace}) mkOpt mkBoolOpt;
|
||||
in
|
||||
{
|
||||
options.${namespace}.hardware.disko = {
|
||||
enable = mkEnableOption "enable disko";
|
||||
@@ -11,5 +14,9 @@ with lib;
|
||||
default = "btrfs";
|
||||
description = "Filesystem to use for the root partition";
|
||||
};
|
||||
|
||||
enableSwap = mkBoolOpt false "Enable swap";
|
||||
|
||||
swapSize = mkOpt types.str "16G" "size of swap part";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user