refactor *started*

This commit is contained in:
martyTF 2026-03-30 22:03:03 +02:00
parent d0413cb830
commit db2103a37d
103 changed files with 1008 additions and 786 deletions

View file

@ -1,47 +0,0 @@
{
config,
pkgs,
inputs,
lib,
...
}:
{
options = {
main-user = {
userName = lib.mkOption {
default = "marty";
description = ''
main user name
'';
};
shell = lib.mkOption {
default = pkgs.fish;
description = ''
main user shell
'';
};
};
};
config = {
users.users.${config.main-user.userName} = {
isNormalUser = true;
description = "main user";
extraGroups = [
"networkmanager"
"wheel"
"video"
"audio"
"render"
"docker"
];
shell = pkgs.fish;
};
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
};
}