mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 03:32:08 +01:00
26 lines
508 B
Nix
26 lines
508 B
Nix
{ pkgs, lib, config, options, ... }:
|
|
with lib;
|
|
|
|
{
|
|
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;
|
|
};
|
|
}
|