DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 434e11da5082caeeab390e7f7eee6fe58fba3ee1 nix-arta/hosts/alice/default.nix -rw-r--r-- 1.1 KiB
434e11daJonni Liljamo feat: add auth 2 months ago
                                                                                
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{config, ...}: {
  sops.secrets.rootPwd.neededForUsers = true;
  sops.secrets.skyePwd.neededForUsers = true;

  services.flatpak.enable = true;

  roles.base = {
    root = {
      hashedPasswordFile = config.sops.secrets.rootPwd.path;
    };
    primaryUser = {
      username = "skye";
      isWheel = true;
      hashedPasswordFile = config.sops.secrets.skyePwd.path;
    };
  };

  roles.tailscale = {
    enable = true;
    enableSSH = true;
  };

  roles.audio.enable = true;

  roles.git = {
    enable = true;
    enableLazygit = true;
    email = "jonni@liljamo.com";
    name = "Jonni Liljamo";
    gitExtraConfig = ''
      [sendemail]
          smtpserver = "smtp.migadu.com"
          smtpuser = "jonni@liljamo.com"
          smtpencryption = "ssl"
          smtpserverport = 465
    '';
  };

  roles.shell.enable = true;
  roles.zellij.enable = true;
  roles.kitty.enable = true;

  roles.graphics = {
    enable = true;
    nvidia.enable = true;
  };
  roles.plasma.enable = true;

  roles.gaming = {
    enable = true;
    lutris.enable = true;
    steam.enable = true;
  };
}