♻️ [shared] Moved users config to base. Use password from Sops
This commit is contained in:
@ -19,7 +19,6 @@
|
||||
./sddm.nix
|
||||
./security
|
||||
./social.nix
|
||||
./users.nix
|
||||
./qt.nix
|
||||
./xdg.nix
|
||||
./xserver.nix
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user