summaryrefslogtreecommitdiff
path: root/modules/backup/default.nix
blob: df3454970bd5942fd32c9c9fd61bcb0cb10e686e (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
28
29
30
31
32
33
{ lib, ... }:
{
  imports = [
    ./disk-config.nix
    ../core
  ];

  # MEH
  networking.hostId = "78bc192c";

  system.stateVersion = "24.11";
  home-manager.users.jras = { home.stateVersion = "24.11"; };

  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  time.timeZone = "Europe/Amsterdam";

  services.openssh = {
    openFirewall = lib.mkForce true;
    hostKeys = [
      {
        path = "/persist/etc/ssh/ssh_host_ed25519_key";
        type = "ed25519";
      }
      {
        path = "/persist/etc/ssh/ssh_host_rsa_key";
        type = "rsa";
        bits = 4096;
      }
    ];
  };
}