add soaps support to flake

This commit is contained in:
Lyn 2024-08-31 00:23:59 +02:00
parent 3841eb663f
commit a597470f2b

View file

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