nixfiles/hosts/madoka/configuration.nix
2025-01-04 23:04:49 +03:00

25 lines
No EOL
482 B
Nix

{ modulesPath, abs, ... }:
{
imports = [
(modulesPath + "/profiles/minimal.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./hardware-configuration.nix
];
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")
];
system.stateVersion = "23.11";
networking.hostName = "madoka";
}