This commit is contained in:
2025-12-06 17:21:52 +00:00
parent ce51e114ce
commit f15297edfb
5 changed files with 100 additions and 11 deletions

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

@@ -0,0 +1,40 @@
{
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";
};
};
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
};
};
boot.loader.grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = true;
};
networking.hostName = hostname;
}