bonfire/nixosConfigurations/catarina/users.nix

18 lines
484 B
Nix

{ config, pkgs, lib, ... }:
{
# Users
users.users.root.hashedPasswordFile = config.sops.secrets."users/root".path;
users.users."l.nafaryus" = {
isNormalUser = true;
description = "L-Nafaryus";
extraGroups = [ "networkmanager" "wheel" ];
group = "users";
uid = 1000;
shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets."users/l.nafaryus".path;
};
users.users.nginx.extraGroups = [ "acme" "papermc" ];
}