{pkgs, ...}: {
imports = [
./hardware-configuration.nix
./preservation.nix
./not-managed-by-modules-yet.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 9;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.systemd.enable = true;
boot.initrd.systemd.services.wipe = {
wantedBy = ["initrd.target"];
after = ["zfs-import-zpool.service"];
before = ["sysroot.mount"];
path = with pkgs; [zfs];
unitConfig.DefaultDependencies = "no";
serviceConfig.Type = "oneshot";
script = ''
zfs rollback -r zpool/root@blank
zfs rollback -r zpool/home@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 = "9c928f21";
networking.networkmanager.enable = true;
time.timeZone = "Europe/Helsinki";
system.stateVersion = "25.11";
}