Anthony Rodriguez
99b6b41de3
Moved everything from core into modules. I want to get all the NixOS stuff moved first, and do home-manager after. I used the different profiles to disable configuration that might break my server, as it has its own configuration already. This will need to be refactored later, as I want to ultimately only use the local module system.
19 lines
372 B
Nix
19 lines
372 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf (!config.local.profiles.server.enable) {
|
|
users.users.${config.local.systemVars.username} = {
|
|
isNormalUser = true;
|
|
description = config.local.homeVars.fullName or "User";
|
|
extraGroups = [
|
|
"networkmanager"
|
|
"audio"
|
|
"video"
|
|
"wheel"
|
|
"plugdev"
|
|
];
|
|
};
|
|
};
|
|
}
|