Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / users-standard.nix
blob: a9065d22582d95a61726848354ed8d3206e8737a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, pkgs, ... }: {
  # zsh
  programs.zsh.enable = true;
  environment.shells = with pkgs; [ zsh ];
  # Thanks https://discourse.nixos.org/t/gns3-setcap-and-ubridge-gns3-unable-to-execute-setcap-command/13485/3
  users = {
    groups.ubridge = {};
    users.kamen = {
      isNormalUser = true;
      extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" "lp" "scanner" "plugdev" "docker" "ubridge" ]; # Enable ‘sudo’ for the user.
      packages = [ ];
      shell = pkgs.zsh;
      homeMode = "711"; # mostly done for httpd access
    };
  };
}