Move more things to the common host configuration
This commit is contained in:
parent
c5afed5767
commit
815ec0f429
9 changed files with 147 additions and 528 deletions
20
nix/hosts/common/users.nix
Normal file
20
nix/hosts/common/users.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ username, ... }:
|
||||
|
||||
{
|
||||
users = {
|
||||
users.${username} = {
|
||||
isNormalUser = true;
|
||||
description = "Oliver Davies";
|
||||
|
||||
extraGroups = [
|
||||
"docker"
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
defaultUserShell = "/etc/profiles/per-user/${username}/bin/zsh";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue