hosts: dmz: work on microvm
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
{ microvm, nixpkgs, user, ... }:
|
||||
{ microvm, nixpkgs, user, agenix, ... }:
|
||||
let
|
||||
name = "gitea";
|
||||
name = "gitea-runner";
|
||||
in
|
||||
{
|
||||
microvm = {
|
||||
# autostart = [
|
||||
# "gitea-runnervm"
|
||||
# ];
|
||||
autostart = [
|
||||
"gitea-runnervm"
|
||||
];
|
||||
vms = {
|
||||
${name} = {
|
||||
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
@@ -18,7 +19,7 @@ in
|
||||
config = {
|
||||
imports = [( ./gitea_runner.nix )];
|
||||
networking = {
|
||||
hostName = "${name}-runner";
|
||||
hostName = "${name}";
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user