This commit is contained in:
LunarAkai 2025-03-16 19:45:20 +01:00
commit 3bfebb286d
14 changed files with 235 additions and 34 deletions

View file

@ -2,23 +2,25 @@
pkgs,
config,
...
}: {
}: let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
# Define a user account. Don't forget to set a password with passwd.
users.users.luna = {
isNormalUser = true;
description = "luna";
shell = pkgs.zsh;
extraGroups = [
extraGroups = ifTheyExist [
"audio"
"docker"
"networkmanager"
"wheel"
];
packages = with pkgs; [
# thunderbird
gnome-software
git
neovim
rustup
vscode.fhs
protonvpn-gui
];
};