Original commit

This commit is contained in:
Maxiem Geldhof 2025-10-12 17:15:04 +02:00
commit cc74263a3b
26 changed files with 3052 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "selene";
networking.domain = "";
networking.firewall = {
enable = true;
allowedTCPPorts = [
22
80
443
];
};
services.openssh.enable = true;
services.openssh.settings.PasswordAuthentication = false;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKcfmaqbtwSEydV2hge/aDWxfwlKOw/JJZZWy8ycjojH hetzner@maxiemgeldhof.com"
];
age.identityPaths = [ "/root/.ssh/id_ed25519" ];
system.stateVersion = "23.11";
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
}