share user configuration between systems

This commit is contained in:
Haak Saxberg 2022-07-31 23:06:16 -07:00
parent 35545242ac
commit 9be3527af1
3 changed files with 22 additions and 30 deletions

View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
users.users.haak = {
isNormalUser = true;
extraGroups = [
"wheel" # Enable sudo for the user.
"networkmanager" # Allow the user to manage networks
];
};
users.extraUsers.haak = {
shell = pkgs.zsh;
};
}