hosts: dmz: work on microvm

This commit is contained in:
2024-01-18 17:42:23 +01:00
parent 747a9abd01
commit e2f0c80e31
2 changed files with 12 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ microvm, nixpkgs, user, agenix, ... }:
{ config, microvm, nixpkgs, user, agenix, ... }:
let
name = "gitea-runner";
in
@@ -10,14 +10,18 @@ in
vms = {
${name} = {
pkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
#inherit pkgs;
config = {
imports = [( ./gitea_runner.nix )];
imports =
[ agenix.nixosModules.default ] ++
[( ./gitea_runner.nix )];
networking = {
hostName = "${name}";