Files
Sovran_SystemsOS/flake.nix

75 lines
1.3 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";
2025-04-20 20:02:10 -05:00
btc-clients.url = "github:emmanuelrosa/btc-clients-nix";
2024-10-23 22:48:04 -07:00
2025-01-19 18:40:57 -08:00
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
2023-06-01 05:47:05 -07:00
};
2025-04-20 20:02:10 -05:00
outputs = { self, nixpkgs, nix-bitcoin, nixvim, agenix, btc-clients, nixpkgs-stable, ... }:
2025-01-19 18:40:57 -08:00
let
system = "x86_64-linux";
overlay-stable = final: prev: {
stable = import nixpkgs-stable {
inherit system;
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:46:14 -08:00
inherit system;
2025-01-19 18:40:57 -08:00
2023-06-01 05:47:05 -07:00
};
2024-10-24 06:21:30 -07:00
nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
2025-01-19 18:40:57 -08:00
2023-06-01 05:47:05 -07:00
imports = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable ]; })
2025-01-19 18:45:25 -08:00
./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; [
2025-04-20 20:02:10 -05:00
btc-clients.packages.x86_64-linux.bisq
btc-clients.packages.x86_64-linux.bisq2
btc-clients.packages.x86_64-linux.sparrow
2024-10-24 06:17:34 -07:00
];
2023-06-01 05:47:05 -07:00
};
};
2024-08-31 20:28:23 -07:00
}