Way too massive refactoring

This commit is contained in:
Vili Sinervä 2025-05-29 15:39:42 +03:00
parent 113d68be68
commit 24aac9708b
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
49 changed files with 481 additions and 407 deletions

18
shared/users/vili.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, ... }:
{
users.users.vili = {
isNormalUser = true;
home = "/home/vili";
description = "Vili Sinervä";
uid = 1000;
extraGroups = [
"wheel"
"networkmanager"
"audio"
];
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
hashedPasswordFile = "/persist/secrets/hashed-passwords/vili";
};
users.groups.vili.gid = 1000;
}