forked from Zynh0722/permafrost
22 lines
510 B
Nix
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";
|
|
};
|
|
}
|