hosts: dmz: work on microvm
This commit is contained in:
parent
747a9abd01
commit
e2f0c80e31
@ -25,12 +25,13 @@
|
|||||||
coreutils
|
coreutils
|
||||||
wget
|
wget
|
||||||
gnused
|
gnused
|
||||||
|
# agenix.packages.x86_64-linux.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets."services/gitea/runner-token" = {
|
age.secrets."services/gitea/runner-token" = {
|
||||||
file = ../../../secrets/services/gitea/runner-token.age;
|
file = ../../../secrets/services/gitea/runner-token.age;
|
||||||
owner = "gitea-runner";
|
owner = "gitea-runner";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ microvm, nixpkgs, user, agenix, ... }:
|
{ config, microvm, nixpkgs, user, agenix, ... }:
|
||||||
let
|
let
|
||||||
name = "gitea-runner";
|
name = "gitea-runner";
|
||||||
in
|
in
|
||||||
@ -10,14 +10,18 @@ in
|
|||||||
vms = {
|
vms = {
|
||||||
${name} = {
|
${name} = {
|
||||||
|
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#inherit pkgs;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
imports = [( ./gitea_runner.nix )];
|
imports =
|
||||||
|
[ agenix.nixosModules.default ] ++
|
||||||
|
[( ./gitea_runner.nix )];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "${name}";
|
hostName = "${name}";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user