Flake is now modular and supports forgejo and forgejo-ci-runner #1

Merged
lynatic merged 14 commits from debug into main 2024-09-06 07:08:01 +02:00
Showing only changes of commit 94310bf128 - Show all commits

View file

@ -3,8 +3,12 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, sops-nix }@inputs: { outputs = {self, nixpkgs, lix-module, sops-nix }@inputs: {
nixosConfigurations = { nixosConfigurations = {
"forgejo" = nixpkgs.lib.nixosSystem { "forgejo" = nixpkgs.lib.nixosSystem {
@ -12,6 +16,7 @@
modules = [ modules = [
./hosts/forgenite/default.nix ./hosts/forgenite/default.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
lix-module.nixosModules.default
]; ];
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;