permafrost/modules/users.nix
2025-01-25 00:39:23 -08:00

22 lines
510 B
Nix

{ config, ... }:
{
nix.settings.trusted-users = [ "ravenshade" ];
# users sops setup
sops.secrets."passwords/ravenshade".neededForUsers = true;
users.mutableUsers = false;
users.users.ravenshade = {
isNormalUser = true;
description = "Zynh Ludwig";
hashedPasswordFile = config.sops.secrets."passwords/ravenshade".path;
extraGroups = [ "networkmanager" "wheel" "docker" "syncthing" ];
};
users.users.espen = {
isNormalUser = true;
description = "Espen's user";
};
}