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 fbdaf370ea - Show all commits

View file

@ -2,8 +2,9 @@
description = "Lyns flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
sops-nix.url = "github:Mic92/sops-nix";
};
outputs = { self, nixpkgs }@inputs: {
outputs = { self, nixpkgs, sops-nix }@inputs: {
nixosConfigurations = {
"forgejo" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -12,6 +13,7 @@
# old configuration file can still take effect.
# Note: configuration.nix itself is also a Nixpkgs Module,
./configuration.nix
sops-nix.nixosModules.sops
];
specialArgs = {
inherit inputs;