2026-02-05 17:57:02 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
networking.hostName = "bucur";
|
2026-02-07 19:26:55 +02:00
|
|
|
networking.useDHCP = false;
|
|
|
|
|
networking.interfaces.ens3.ipv4.addresses = [
|
|
|
|
|
{
|
|
|
|
|
address = "194.68.44.28";
|
|
|
|
|
prefixLength = 24;
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
networking.defaultGateway = "194.68.44.1";
|
|
|
|
|
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
2026-02-05 17:57:02 +02:00
|
|
|
time.timeZone = "UTC";
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
system.stateVersion = "25.11";
|
2026-02-07 20:55:52 +02:00
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
2026-02-05 17:57:02 +02:00
|
|
|
|
2026-02-07 18:46:06 +02:00
|
|
|
boot.loader.systemd-boot.enable = false;
|
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
|
boot.loader.grub.device = "/dev/vda";
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
|
|
|
|
|
2026-02-05 17:57:02 +02:00
|
|
|
virtualisation.vmVariant = {
|
|
|
|
|
users.mutableUsers = false;
|
|
|
|
|
users.users.tobias.password = "admin";
|
|
|
|
|
users.users.tobias.openssh.authorizedKeys.keys = [
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILXTPk7gb4VDb+jORGw2sKp2SRTzoibXew6DqJJ0A3Zs randogoth@mrht"
|
|
|
|
|
];
|
|
|
|
|
services.firewalld.enable = lib.mkForce false;
|
|
|
|
|
};
|
|
|
|
|
}
|