mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-04-30 02:16:19 +02:00
20 lines
534 B
Nix
20 lines
534 B
Nix
{config, ...}: {
|
|
imports = [ ./ssh.nix ];
|
|
|
|
sops.secrets.password_kevin = {
|
|
neededForUsers = true;
|
|
sopsFile = ../shared/secrets/passwords.yaml;
|
|
};
|
|
|
|
|
|
users.mutableUsers = false;
|
|
|
|
users.users.kevin = {
|
|
isNormalUser = true;
|
|
description = "Kevin Kandlbinder";
|
|
extraGroups = [ "wheel" "docker" "dialout" "networkmanager" "floppy" "audio" "lp" "cdrom" "tape" "video" "render" ];
|
|
hashedPasswordFile = config.sops.secrets.password_kevin.path;
|
|
};
|
|
|
|
kevin.ssh.authorized.kevin.users = ["kevin" "root"];
|
|
}
|