Compare commits
No commits in common. "1f79ed5a028856e4ae440cedcb5b2a9cecd79533" and "e8f0200a7a02b235e2717fb5a41167487fa64b31" have entirely different histories.
1f79ed5a02
...
e8f0200a7a
2 changed files with 19 additions and 0 deletions
17
flake.nix
17
flake.nix
|
@ -70,6 +70,23 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
forgejo-runner = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
modules = [
|
||||||
|
agenix.nixosModules.default
|
||||||
|
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
|
||||||
|
"${inputs.self}/services"
|
||||||
|
{
|
||||||
|
networking.hostName = "forgejo-runner";
|
||||||
|
services.vm_forgejo = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
services.lxc = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
jellyfin = nixpkgs.lib.nixosSystem {
|
jellyfin = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.secrets.initialPassword.file = ./secrets/initialPassword.age;
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
users = {
|
users = {
|
||||||
users.tbarnouin = {
|
users.tbarnouin = {
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1B0nxNMvPWSR9pStdtx2x6Iw+JUeCCt1CKWoD8dsr"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1B0nxNMvPWSR9pStdtx2x6Iw+JUeCCt1CKWoD8dsr"
|
||||||
];
|
];
|
||||||
|
initialPassword = config.age.initialPassword.path;
|
||||||
};
|
};
|
||||||
users.root = {
|
users.root = {
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue