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