mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-10-21 03:15:46 +02:00
Add Github Actions support to the build machine.
This commit is contained in:
parent
4732cc0722
commit
b0a415a7ee
5 changed files with 113 additions and 22 deletions
12
flake.nix
12
flake.nix
|
|
@ -3,12 +3,17 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs_26_05.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs_26_05";
|
||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs_26_05,
|
||||
sops-nix,
|
||||
nix-minecraft,
|
||||
...
|
||||
}: let
|
||||
|
|
@ -55,9 +60,12 @@
|
|||
modules = [./nix-system-configs/modules/system/traefik.nix];
|
||||
};
|
||||
|
||||
"nixos-build-machine" = nixpkgs.lib.nixosSystem {
|
||||
"nixos-build-machine" = nixpkgs_26_05.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [./nix-system-configs/modules/system/build_machine.nix];
|
||||
modules = [
|
||||
sops-nix.nixosModules.sops
|
||||
./nix-system-configs/modules/system/build_machine.nix
|
||||
];
|
||||
};
|
||||
|
||||
"nixos-logs" = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue