♻️ [shared] Moved users config to base. Use password from Sops

This commit is contained in:
2025-05-22 19:40:49 +02:00
parent 21d07edcf1
commit e4fe0e1127
5 changed files with 19 additions and 26 deletions

View File

@ -19,7 +19,6 @@
./sddm.nix
./security
./social.nix
./users.nix
./qt.nix
./xdg.nix
./xserver.nix

View File

@ -1,15 +0,0 @@
{ config, systemConfig, ... }:
let
username = systemConfig.username;
in
{
users.users.${username} = {
isNormalUser = true;
hashedPasswordFile = config.sops.secrets.password-hash.path;
description = username;
extraGroups = [
"networkmanager"
"wheel"
];
};
}