24 lines
378 B
Nix
24 lines
378 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.profiles.clerie.ruby-vm = {
|
|
enable = mkEnableOption "Profile for ruby VMs";
|
|
};
|
|
|
|
config = mkIf config.profiles.clerie.ruby-vm.enable {
|
|
|
|
profiles.clerie.serial-console.enable = true;
|
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
networking.nameservers = [
|
|
"2a00:fe0:0:2::300"
|
|
"2a00:fe0:0:3::300"
|
|
];
|
|
|
|
};
|
|
}
|