DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: bc6ab255ed8a2ec8bf273de2c24aa1270da9871b nix-arta/hosts/cloud/default.nix -rw-r--r-- 454 bytes
bc6ab255Jonni Liljamo feat: pinentry is so stupid 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{config, ...}: {
  sops.secrets.rootPwd.neededForUsers = true;
  sops.secrets.liljamoPwd.neededForUsers = true;

  # Outline is under BSL1.1.
  arta.unfree.allow = ["outline"];

  roles.base = {
    root.hashedPasswordFile = config.sops.secrets.rootPwd.path;
    primaryUser = {
      username = "liljamo";
      hashedPasswordFile = config.sops.secrets.liljamoPwd.path;
    };
  };

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