2024-03-21 15:00:36 +01:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
|
|
|
|
metacfg = {
|
|
|
|
base.enable = true;
|
|
|
|
gui.enable = true;
|
|
|
|
nix-ld.enable = true;
|
|
|
|
nix.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
secureboot.enable = true;
|
2024-07-11 15:06:41 +02:00
|
|
|
homeprinter.enable = true;
|
2024-11-19 10:31:29 +01:00
|
|
|
user.extraGroups = [
|
|
|
|
"docker"
|
|
|
|
"dialout"
|
|
|
|
];
|
2024-11-28 10:01:46 +01:00
|
|
|
tools = {
|
|
|
|
direnv.enable = true;
|
|
|
|
};
|
2024-03-21 15:00:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
operation = "boot";
|
|
|
|
allowReboot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
|
2024-07-11 15:06:41 +02:00
|
|
|
services.resolved.enable = true;
|
|
|
|
services.resolved.dnssec = "allow-downgrade";
|
|
|
|
|
2024-03-21 15:00:36 +01:00
|
|
|
sops.age.sshKeyPaths = [ "/persist/ssh/ssh_host_ed25519_key" ];
|
|
|
|
sops.secrets.backup-s3.sopsFile = ../../../.secrets/t15/backup-s3.yaml;
|
|
|
|
sops.secrets.backup-pw.sopsFile = ../../../.secrets/t15/backup-s3.yaml;
|
|
|
|
|
|
|
|
services.openssh.hostKeys = [
|
|
|
|
{
|
|
|
|
path = "/persist/ssh/ssh_host_ed25519_key";
|
|
|
|
type = "ed25519";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
path = "/persist/ssh/ssh_host_rsa_key";
|
|
|
|
type = "rsa";
|
|
|
|
bits = 4096;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|