This commit is contained in:
soraefir
2024-04-17 00:25:54 +02:00
parent 6441652b8c
commit b644c87517
6 changed files with 172 additions and 151 deletions

View File

@ -98,6 +98,14 @@ in with lib; {
options.usercfg = userOpt;
options.syscfg = {
hostname = mkOption { type = types.str; };
type = mkOption {
type = types.enum [ "nixos" "macos" "home" ];
default = "nixos";
};
system = mkOption {
type = types.enum [ "x86_64-linux" "x86_64-darwin" "-" ];
default = "x86_64-linux";
};
defaultUser = mkOption { type = types.str; };
make = makeOpt;
net = netOpt;