about summary refs log tree commit diff
path: root/users/grfn/system/system/machines/roswell.nix
blob: 8f7ed8474200916dce1737feefd29bb3fd6dac28 (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
{ depot, config, lib, pkgs, modulesPath, ... }:

{
  imports = [
    ../modules/common.nix
    ../modules/development.nix
    "${modulesPath}/installer/scan/not-detected.nix"
    "${modulesPath}/virtualisation/amazon-image.nix"
  ];

  system.stateVersion = "22.05";

  ec2.hvm = true;

  networking.hostName = "roswell";

  users.users.grfn.openssh.authorizedKeys.keys = [
    depot.users.grfn.keys.main
  ];

  boot.loader.systemd-boot.enable = lib.mkForce false;
  boot.loader.efi.canTouchEfiVariables = lib.mkForce false;

  services.openssh.passwordAuthentication = false;

  services.tailscale.enable = true;

  security.sudo.wheelNeedsPassword = false;
}