forgejo-actions-run.: use runner pkg from unstable to make it work again
This commit is contained in:
parent
275a3779f7
commit
550b0f13ca
3 changed files with 27 additions and 4 deletions
10
flake.nix
10
flake.nix
|
|
@ -6,6 +6,7 @@
|
|||
# https://nixos.org/manual/nixos/stable/#sec-upgrading
|
||||
# https://github.com/NixOS/nixpkgs
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
# Add nixos-generators as an input.
|
||||
# See here: https://github.com/nix-community/nixos-generators#using-in-a-flake
|
||||
|
|
@ -27,12 +28,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixos-generators, sops-nix, authorizedKeysRepo, ... }:
|
||||
outputs = { self, nixpkgs, nixos-generators, nixpkgs-unstable, sops-nix, authorizedKeysRepo, ... }:
|
||||
let
|
||||
specialArgs = {
|
||||
inherit authorizedKeysRepo;
|
||||
};
|
||||
system = "x86_64-linux";
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages."${system}";
|
||||
in
|
||||
{
|
||||
nixosModules = {
|
||||
|
|
@ -135,7 +137,7 @@
|
|||
};
|
||||
|
||||
forgejo-actions-runner = nixpkgs.lib.nixosSystem {
|
||||
inherit system specialArgs;
|
||||
inherit system;
|
||||
modules = [
|
||||
self.nixosModules.common
|
||||
self.nixosModules.proxmox-vm
|
||||
|
|
@ -143,6 +145,10 @@
|
|||
self.nixosModules.prometheus-exporter
|
||||
./config/hosts/forgejo-actions-runner
|
||||
];
|
||||
specialArgs = {
|
||||
inherit authorizedKeysRepo;
|
||||
inherit pkgs-unstable;
|
||||
};
|
||||
};
|
||||
|
||||
ptouch-print-server = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue