Compare commits

...
Sign in to create a new pull request.

1 commit
prod ... labs

Author SHA1 Message Date
bb9db6f1ba Emitter: Add labs 2026-02-19 21:02:15 +01:00
2 changed files with 31 additions and 0 deletions

View file

@ -3,6 +3,8 @@
imports = [
./forgejo.nix
./tls_sni.nix
./labs.nix
];
boot.loader.grub.enable = true;

29
hosts/labs.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
vagrant
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vagrant"
];
environment.variables = {
VAGRANT_DEFAULT_PROVIDER = "libvirt";
};
virtualisation.libvirtd = {
enable = true;
};
users.users.fruchti.extraGroups = [
"libvirtd"
];
networking.firewall.allowedTCPPorts = [
8000
8001
4119
2222
];
}