hosts: dmz: work on microvm
This commit is contained in:
parent
747a9abd01
commit
e2f0c80e31
@ -25,12 +25,13 @@
|
||||
coreutils
|
||||
wget
|
||||
gnused
|
||||
# agenix.packages.x86_64-linux.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets."services/gitea/runner-token" = {
|
||||
file = ../../../secrets/services/gitea/runner-token.age;
|
||||
owner = "gitea-runner";
|
||||
};
|
||||
age.secrets."services/gitea/runner-token" = {
|
||||
file = ../../../secrets/services/gitea/runner-token.age;
|
||||
owner = "gitea-runner";
|
||||
};
|
||||
}
|
||||
|
@ -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}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user