nixfiles/hosts/madoka/configuration.nix

35 lines
739 B
Nix
Raw Normal View History

2025-01-04 23:04:49 +03:00
{ modulesPath, abs, ... }:
2024-06-07 11:34:06 +03:00
{
imports = [
(modulesPath + "/profiles/minimal.nix")
(modulesPath + "/profiles/qemu-guest.nix")
2025-01-05 03:45:52 +03:00
(abs "lib/desu")
2024-06-07 11:34:06 +03:00
./hardware-configuration.nix
2025-01-05 03:45:52 +03:00
./services/license-servers.nix
2024-06-07 11:34:06 +03:00
];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
age.identityPaths = [
"/etc/ssh/agenix_key"
];
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keyFiles = [
(abs "ssh/teidesu.pub")
];
2024-08-24 21:26:38 +03:00
2024-06-07 11:34:06 +03:00
system.stateVersion = "23.11";
2025-01-05 03:45:52 +03:00
virtualisation.docker.enable = true;
virtualisation.oci-containers.backend = "docker";
services.desu-deploy = {
enable = true;
key = builtins.readFile (abs "ssh/desu-deploy.pub");
};
2025-01-04 23:04:49 +03:00
networking.hostName = "madoka";
2024-06-07 11:34:06 +03:00
}