add stuff for home manager

This commit is contained in:
alyx 2026-02-21 01:09:03 +00:00
parent 00add66a97
commit 4b6738323e
No known key found for this signature in database
9 changed files with 831 additions and 10 deletions

View file

@ -3,17 +3,14 @@
options.var = with lib.types; {
# host-specific options
username = lib.mkOption { type = str; };
hostname = lib.mkOption { type = str;};
#[...]
# Variables shared by all hosts
hostname = lib.mkOption { type = str;};
locale = lib.mkOption { type = str;};
timezone = lib.mkOption { type = str;};
#[...]
};
config.var = {
# Variables shared by all hosts
locale = "de_DE.UTF-8";
timezone = "Europe/Berlin";
locale = "en_AU.UTF-8";
};
}