refactor variables & theme

Former-commit-id: 276756d998
This commit is contained in:
Hadi
2025-03-04 20:58:20 +01:00
parent b314c9648f
commit 4d80db7ccb
17 changed files with 68 additions and 125 deletions

View File

@@ -1,5 +1,8 @@
{ config, ... }: {
imports = [ ../../nixos/variables-config.nix ../../themes/yoru.nix ];
{ config, lib, ... }: {
imports = [
# Choose your theme here:
../../themes/yoru.nix
];
config.var = {
hostname = "nixy";
@@ -21,8 +24,13 @@
autoUpgrade = false;
autoGarbageCollector = true;
};
# Choose your theme variables here
# theme = import ../../themes/var/2025.nix;
# Let this here
options = {
var = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}