permafrost/modules/users.nix

23 lines
510 B
Nix
Raw Normal View History

2024-12-27 20:57:05 -08:00
{ 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;
2024-12-28 06:33:49 -08:00
extraGroups = [ "networkmanager" "wheel" "docker" "syncthing" ];
2024-12-27 20:57:05 -08:00
};
2025-01-25 00:39:20 -08:00
users.users.espen = {
isNormalUser = true;
description = "Espen's user";
};
2024-12-27 20:57:05 -08:00
}