mirror of
https://github.com/tboerger/nixos-config
synced 2026-12-02 01:28:07 +01:00
38 lines
579 B
Nix
38 lines
579 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
options,
|
|
...
|
|
}:
|
|
with lib;
|
|
|
|
{
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
users = {
|
|
users = {
|
|
adrian = {
|
|
uid = 10002;
|
|
description = "Adrian Boerger";
|
|
shell = pkgs.zsh;
|
|
isNormalUser = true;
|
|
hashedPasswordFile = config.age.secrets."users/adrian/password".path;
|
|
extraGroups = [
|
|
"audio"
|
|
"video"
|
|
"networkmanager"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
age.secrets."users/adrian/password" = {
|
|
file = ../../secrets/users/adrian/password.age;
|
|
};
|
|
}
|