Sovran_SystemsOS/flake.nix

82 lines
1.5 KiB
Nix
Raw Normal View History

2023-06-01 05:47:05 -07:00
{
2023-06-01 09:51:02 -07:00
description = "The Ultimate Sovran_SystemsOS Configuration for the Sovran Pro from Sovran Systems";
2023-06-01 05:47:05 -07:00
inputs = {
2023-06-01 09:51:02 -07:00
2023-06-01 05:47:05 -07:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release";
2023-06-01 09:51:02 -07:00
agenix.url = "github:ryantm/agenix";
agenix.inputs.darwin.follows = "";
2024-08-31 20:28:23 -07:00
nixvim.url = "github:nix-community/nixvim";
2024-10-23 22:48:04 -07:00
bisq1.url = "github:emmanuelrosa/bisq-for-nixos";
2025-01-19 18:40:57 -08:00
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
btcpayserver-new.url = "github:Dreaming-Codes/nixpkgs/update-btcpayser";
2023-06-01 05:47:05 -07:00
};
2025-01-19 18:40:57 -08:00
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: {
2025-01-19 18:43:31 -08:00
2025-01-19 18:40:57 -08:00
new-btcpaynew = import btcpayserver-new {
2025-01-19 18:43:31 -08:00
inherit system;
2025-01-19 18:40:57 -08:00
config.allowunfree = true;
};
};
in
{
2023-06-01 05:47:05 -07:00
2025-01-19 18:40:57 -08:00
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
2024-10-23 22:48:04 -07:00
2025-01-19 18:40:57 -08:00
inherit systems;
2023-06-01 05:47:05 -07:00
};
2024-10-24 06:21:30 -07:00
nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
2024-10-24 00:14:09 -07:00
2025-01-19 18:40:57 -08:00
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable overlay-btcpaynew ]; })
2023-06-01 05:47:05 -07:00
imports = [
./configuration.nix
2023-06-01 05:47:05 -07:00
2023-06-28 21:03:26 -07:00
nix-bitcoin.nixosModules.default
2023-06-01 09:51:02 -07:00
2023-06-28 21:03:26 -07:00
agenix.nixosModules.default
2023-06-01 09:51:02 -07:00
2024-08-31 20:28:23 -07:00
nixvim.nixosModules.nixvim
2023-06-28 20:42:19 -07:00
];
2024-10-24 06:17:34 -07:00
environment.systemPackages = with pkgs; [
2024-10-24 06:24:12 -07:00
bisq1.packages.x86_64-linux.bisq-desktop
2024-10-24 06:17:34 -07:00
];
2023-06-01 05:47:05 -07:00
};
};
2024-08-31 20:28:23 -07:00
}