mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 12:02:09 +02:00
refactor variables & theme
This commit is contained in:
@@ -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 = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user