1
0

profiles/netcup: Add profile for Netcup VM

This commit is contained in:
2025-03-13 18:04:19 +01:00
parent e4dc3bdc1f
commit ec6390be3f
5 changed files with 33 additions and 2 deletions

9
profiles/default.nix Normal file
View File

@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./netcup
];
}

View File

@@ -0,0 +1,20 @@
{ config, lib, ... }:
with lib;
{
options.profiles.clerie.netcup = {
enable = mkEnableOption "Profile for Netcup VM";
};
config = mkIf config.profiles.clerie.netcup.enable {
services.qemuGuest.enable = true;
# https://helpcenter.netcup.com/de/wiki/server/nameserver/
networking.nameservers = [ "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" "46.38.255.230" "46.38.252.230" ];
};
}