refactor: revert username global var

This commit is contained in:
Mohammad Rafiq 2025-03-27 02:49:54 +08:00
parent d5b4b54403
commit 16f28bf227
No known key found for this signature in database
11 changed files with 66 additions and 35 deletions

View file

@ -0,0 +1,16 @@
{ inputs, config, ... }:
{
home-manager.users.rafiq.imports = [ ../../../users/rafiq.nix ];
users.users.rafiq = {
isNormalUser = true;
description = "rafiq";
hashedPasswordFile = config.sops.secrets.password.path;
extraGroups = [
"networkmanager"
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdsZyY3gu8IGB8MzMnLdh+ClDxQQ2RYG9rkeetIKq8n"
];
};
}