/sys/machines -> /hosts

This commit is contained in:
xunuwu 2025-06-06 11:22:15 +02:00
parent 2c475dd099
commit 9c9a3d543c
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
38 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,44 @@
{
inputs,
systemProfiles,
...
}: {
imports =
[
"${inputs.nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
inputs.impermanence.nixosModules.impermanence
inputs.disko.nixosModules.disko
./disk-config.nix
./fail2ban.nix
./wireguard-server.nix
./backups.nix
./caddy.nix
]
++ (map (x: systemProfiles + x) [
/core/security.nix
/core/tools.nix
/core/ssh.nix
/core/deploy.nix
/nix/default.nix
/network/tailscale.nix
/network/networkd.nix
]);
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
networking.firewall.logRefusedConnections = false; # this spams my journal too much
hardware.enableRedistributableFirmware = true;
environment.persistence."/persist".enable = false;
networking.hostName = "rackserv";
nixpkgs.hostPlatform.system = "x86_64-linux";
system.stateVersion = "25.05";
}