Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / users-standard.nix
blob: 368f6f8447b8fa7c4ede0e9c6d06ae42370f1900 (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.bash;
      homeMode = "711"; # mostly done for httpd access
    };
  };
}