refactor: revert username global var
This commit is contained in:
parent
d5b4b54403
commit
16f28bf227
11 changed files with 66 additions and 35 deletions
16
systems/modules/users/rafiq.nix
Normal file
16
systems/modules/users/rafiq.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue