service: gitea register
This commit is contained in:
parent
893d31d52c
commit
c285b75264
@ -5,6 +5,7 @@
|
|||||||
podman ={
|
podman ={
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
|
dockerCompat = enable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, microvm, nixpkgs, user, agenix, impermanence, ... }:
|
{ config, microvm, lib, user, agenix, impermanence, ... }:
|
||||||
let
|
let
|
||||||
name = "gitea-runner";
|
name = "gitea-runner";
|
||||||
in
|
in
|
||||||
@ -10,10 +10,7 @@ in
|
|||||||
vms = {
|
vms = {
|
||||||
${name} = {
|
${name} = {
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
inherit pkgs;
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
imports =
|
imports =
|
||||||
@ -24,7 +21,7 @@ in
|
|||||||
networking = {
|
networking = {
|
||||||
hostName = "${name}";
|
hostName = "${name}";
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedUDPPorts = [ ];
|
allowedUDPPorts = [ ];
|
||||||
allowedTCPPorts = [ ];
|
allowedTCPPorts = [ ];
|
||||||
@ -72,12 +69,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/persist".neededForBoot = nixpkgs.lib.mkForce true;
|
fileSystems."/persist".neededForBoot = lib.mkForce true;
|
||||||
|
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"/var/log"
|
"/var/log"
|
||||||
"/var/lib"
|
"/var/lib/private"
|
||||||
];
|
];
|
||||||
|
|
||||||
files = [
|
files = [
|
||||||
|
@ -1,22 +1,21 @@
|
|||||||
age-encryption.org/v1
|
age-encryption.org/v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mqlctp4X04cUGsyvw
|
IV0yNfPNQX0vSH5UahQB7W49NIgDFnZ71o8etiL5aXA
|
||||||
--- UuF0QrpyA6x6Z0wa6SmPZxMuob0fhBhTzjedxx2rKy0
|
--- uTjO87M1XUksCmCwEIjKf3mD46hQpzsVyIeYrgR5R2g
|
||||||
ŘXŇŢ™úV|/ëp”yä°…ćRą•ŃçˇAZVî¶f¶†
|
A%[éKEAÒ$XX£`Ö¦ýè£S†J…I•EŸs’¢»_¨låå5©Ê¿ü~<05>!µBD |%4à±*òàÓbQG%X=#ùNñDæ¯fKÂò
|
||||||
ąĆ®ú}~fçŮŠůţH5ÖČîÔć,Jo˘bPŔd<>†N×ůľ<>á
|
|
Loading…
Reference in New Issue
Block a user