lots
This commit is contained in:
20
modules/options/accounts/default.nix
Normal file
20
modules/options/accounts/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption types;
|
||||
in {
|
||||
options.accounts = {
|
||||
username = mkOption {
|
||||
type = types.str;
|
||||
default = "cnst";
|
||||
description = "Set the desired username";
|
||||
};
|
||||
hostname = mkOption {
|
||||
type = types.str;
|
||||
default = "cnix";
|
||||
description = "Set the desired hostname";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -30,6 +30,10 @@ in {
|
||||
type = types.int;
|
||||
default = 60;
|
||||
};
|
||||
transform = mkOption {
|
||||
type = types.int;
|
||||
default = 0;
|
||||
};
|
||||
bitDepth = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
@@ -39,6 +43,10 @@ in {
|
||||
type = types.str;
|
||||
default = "auto";
|
||||
};
|
||||
scale = mkOption {
|
||||
type = types.str;
|
||||
default = "1";
|
||||
};
|
||||
enabled = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
|
||||
Reference in New Issue
Block a user