summaryrefslogtreecommitdiff
path: root/machines/container-raigh.nix
blob: 7f6b2c8169089bffdc7de4f193215fcbd52e3445 (plain)
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
# 2001:67c:29f4:1008:216:3eff:fe71:9d40
{ config, lib, pkgs, ... }:
{
  imports = [
    ../config/container.nix
    ../config/common.nix
    ../config/users.nix
  ];

  networking = {
    hostName = lib.mkForce "raigh";
  };

  security.sudo.wheelNeedsPassword = false;

  users.defaultUserShell = lib.mkForce pkgs.bash;

  users.extraUsers.trygve = {
    uid = 1100;
    home = "/home/trygve";
    isNormalUser = true;
    description = "Trygve";
    extraGroups = [ "wheel" ];
    openssh.authorizedKeys.keyFiles = [ ../data/trygve_rsa.pub ];
  };
}