summaryrefslogtreecommitdiff
path: root/modules/users.nix
blob: a5f975a47d2e8df10232e77fd49f4d4a0bcc1bdb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ pkgs, ... }:
let
  initialPassword = "123456";
in
{
  users.users = {
    root = {
      inherit initialPassword;

      shell = pkgs.bash;
    };

    ebisu = {
      inherit initialPassword;

      isNormalUser = true;
      shell = pkgs.fish;

      extraGroups = [
        "networkmanager"
        "wheel"
        "input"
        "docker"
        "kvm"
        "libvirtd"
      ];
    };
  };
}