DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 4992e9f3bb62bcc564d5a4b7c201f9358535447a nix-arta/ws/hosts/arwen/core/default.nix -rw-r--r-- 535 bytes
4992e9f3Jonni Liljamo feat: arwen as first ws 8 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{lib, ...}: {
  imports = [
    ./hardware-configuration.nix
    ./impermanence.nix
  ];

  boot.initrd.postDeviceCommands = lib.mkAfter ''
    zfs rollback -r zpool/root@blank
  '';

  sops.defaultSopsFile = ../../../../secrets/arwen/secrets.yaml;
  sops.gnupg.sshKeyPaths = ["/persist/etc/ssh/ssh_host_rsa_key"];
  sops.age.sshKeyPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];

  networking.hostId = "d2a2e2cb";
  networking.networkmanager.enable = true;

  time.timeZone = "Europe/Helsinki";

  system.stateVersion = "24.05";
}