This commit is contained in:
2025-12-07 16:45:49 +00:00
parent 9f22d84da8
commit 66ead51864
6 changed files with 132 additions and 41 deletions

36
hosts/michael/default.nix Normal file
View File

@@ -0,0 +1,36 @@
{
modulesPath,
hostname,
inputs,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix
./hardware-configuration.nix
../../modules/nixos
inputs.disko.nixosModules.disko
inputs.tangled.nixosModules.knot
];
services.tangled.knot = {
enable = true;
server = {
hostname = "knot.schmatzler.com";
owner = "did:plc:yiapylv5gwzlyzesppjmukvj";
};
};
networking.firewall.allowedTCPPorts = [ 5444 5555 ];
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
};
};
networking.hostName = hostname;
}