This commit is contained in:
2025-08-04 16:32:29 +03:00
parent 690fbedf4c
commit 6a3b5c2c92
2 changed files with 16 additions and 13 deletions
+1
View File
@@ -17,6 +17,7 @@ let
self.nixosModules.software.beets self.nixosModules.software.beets
self.nixosModules.server.open-webui self.nixosModules.server.open-webui
self.homeConfigurations.default.nixosModule self.homeConfigurations.default.nixosModule
]; ];
+6 -4
View File
@@ -5,12 +5,12 @@
... ...
}: }:
{ {
imports = [ imports = with inputs; [
./essentials ./essentials
# Flake modules # Flake modules
inputs.home-manager.nixosModules.home-manager # home-manager module home-manager.nixosModules.home-manager # home-manager module
inputs.nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
]; ];
# defines global user # defines global user
@@ -37,7 +37,8 @@
}; };
# Options # Options
options.device.type = lib.mkOption { options = {
device.type = lib.mkOption {
type = lib.types.enum [ type = lib.types.enum [
"minimal" "minimal"
"primary" "primary"
@@ -48,4 +49,5 @@
default = "minimal"; # Значение по умолчанию, если не указано default = "minimal"; # Значение по умолчанию, если не указано
description = "Type of device for this host."; description = "Type of device for this host.";
}; };
};
} }