updated flake.nix with new inputs

This commit is contained in:
naturallaw77 2025-01-19 18:40:57 -08:00
parent 72f88b42a6
commit 5153dabecb
3 changed files with 38 additions and 5 deletions

View File

@ -228,7 +228,7 @@ in
####### CADDY ####### ####### CADDY #######
services.caddy = { services.caddy = {
enable = true; enable = true;
package = pkgs.caddy; package = pkgs.stable.caddy;
user = "caddy"; user = "caddy";
group = "root"; group = "root";
email = "${personalization.caddy_email_for_acme}"; email = "${personalization.caddy_email_for_acme}";

View File

@ -15,18 +15,50 @@
bisq1.url = "github:emmanuelrosa/bisq-for-nixos"; bisq1.url = "github:emmanuelrosa/bisq-for-nixos";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
btcpayserver-new.url = "github:Dreaming-Codes/nixpkgs/update-btcpayser";
}; };
outputs = { self, nixpkgs, nix-bitcoin, nixvim, agenix, bisq1, ... }: { outputs = { self, nixpkgs, nix-bitcoin, nixvim, agenix, bisq1, nixpkgs-stable, btcpayserver-new, ... }:
let
system = "x86_64-linux";
overlay-stable = final: prev: {
stable = import nixpkgs-stable {
inherit system;
config.allowunfree = true;
};
};
overlay-btcpaynew = final: prev: {
new-btcpaynew = import btcpayserver-new {
inhert system;
config.allowunfree = true;
};
};
in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system ="x86_64-linux"; inherit systems;
}; };
nixosModules.Sovran_SystemsOS = { pkgs, ... }: { nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable overlay-btcpaynew ]; })
imports = [ imports = [
./configuration.nix ./configuration.nix

View File

@ -132,6 +132,7 @@ experimental-offers
services.btcpayserver = { services.btcpayserver = {
enable = true; enable = true;
package = pkgs.new-btcpaynew.btcpayserver;
}; };
services.btcpayserver.lightningBackend = "lnd"; services.btcpayserver.lightningBackend = "lnd";