aboutsummaryrefslogtreecommitdiff
path: root/nixos/nixosModules/user.nix
blob: 0a532c64b94071ed8607325b2b43e882fd11b7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, config, lib, ... }:

{
  options = {
    user.enable = lib.mkEnableOption "default user configuration";
  };
  config = lib.mkIf config.user.enable {
    programs.fish.enable = true;
    users.users = {
      jerpo = {
        isNormalUser = true;
        shell = pkgs.fish;
        extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "input" "adbusers"  "dialout" "uinput" ];
      };
    };

  };
}