mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
refactoring
This commit is contained in:
+13
-1
@@ -7,7 +7,6 @@
|
||||
{
|
||||
imports = [
|
||||
./essentials
|
||||
#./services
|
||||
|
||||
# Flake modules
|
||||
inputs.home-manager.nixosModules.home-manager # home-manager module
|
||||
@@ -36,4 +35,17 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Options
|
||||
options.device.type = lib.mkOption {
|
||||
type = lib.types.enum [
|
||||
"minimal"
|
||||
"primary"
|
||||
"server"
|
||||
"vds"
|
||||
"wsl"
|
||||
];
|
||||
default = "minimal"; # Значение по умолчанию, если не указано
|
||||
description = "Type of device for this host.";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user