mirror of
https://github.com/tboerger/nixos-config
synced 2026-07-23 05:34:54 +02:00
38 lines
569 B
Nix
38 lines
569 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
options,
|
|
...
|
|
}:
|
|
with lib;
|
|
|
|
{
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
users = {
|
|
users = {
|
|
anna = {
|
|
uid = 10001;
|
|
description = "Anna Boerger";
|
|
shell = pkgs.zsh;
|
|
isNormalUser = true;
|
|
hashedPasswordFile = config.age.secrets."users/anna/password".path;
|
|
extraGroups = [
|
|
"audio"
|
|
"video"
|
|
"networkmanager"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
age.secrets."users/anna/password" = {
|
|
file = ../../secrets/users/anna/password.age;
|
|
};
|
|
}
|