updated flake.nix with new inputs
This commit is contained in:
parent
72f88b42a6
commit
5153dabecb
@ -228,7 +228,7 @@ in
|
||||
####### CADDY #######
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
package = pkgs.caddy;
|
||||
package = pkgs.stable.caddy;
|
||||
user = "caddy";
|
||||
group = "root";
|
||||
email = "${personalization.caddy_email_for_acme}";
|
||||
|
38
flake.nix
38
flake.nix
@ -15,18 +15,50 @@
|
||||
|
||||
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, ... }:
|
||||
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
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 {
|
||||
|
||||
inherit systems;
|
||||
|
||||
system ="x86_64-linux";
|
||||
|
||||
};
|
||||
|
||||
nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
|
||||
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable overlay-btcpaynew ]; })
|
||||
|
||||
imports = [
|
||||
|
||||
./configuration.nix
|
||||
|
@ -132,6 +132,7 @@ experimental-offers
|
||||
|
||||
services.btcpayserver = {
|
||||
enable = true;
|
||||
package = pkgs.new-btcpaynew.btcpayserver;
|
||||
};
|
||||
|
||||
services.btcpayserver.lightningBackend = "lnd";
|
||||
|
Loading…
x
Reference in New Issue
Block a user