mv to old
This commit is contained in:
parent
ca07a6a3e9
commit
4cce293352
8 changed files with 0 additions and 0 deletions
32
old/Configurations/Hosts/Default/user.nix
Normal file
32
old/Configurations/Hosts/Default/user.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
vars = import ./variables/user-vars.nix;
|
||||
username = vars.username;
|
||||
gitUsername = vars.gitUsername;
|
||||
in {
|
||||
users.mutableUsers = true;
|
||||
|
||||
# Main user
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
description = gitUsername;
|
||||
createHome = true;
|
||||
home = "/home/${username}";
|
||||
shell = pkgs.zsh;
|
||||
group = "users";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
"scanner"
|
||||
"lp"
|
||||
"video"
|
||||
"input"
|
||||
"audio"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue