Sovran_SystemsOS/flake.nix

75 lines
1.3 KiB
Nix
Executable File

{
description = "The Ultimate Sovran_SystemsOS Configuration for the Sovran Pro from Sovran Systems";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release";
agenix.url = "github:ryantm/agenix";
agenix.inputs.darwin.follows = "";
nixvim.url = "github:nix-community/nixvim";
btc-clients.url = "github:emmanuelrosa/btc-clients-nix";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs, nix-bitcoin, nixvim, agenix, btc-clients, nixpkgs-stable, ... }:
let
system = "x86_64-linux";
overlay-stable = final: prev: {
stable = import nixpkgs-stable {
inherit system;
config.allowunfree = true;
};
};
in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
inherit system;
};
nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
imports = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable ]; })
./configuration.nix
nix-bitcoin.nixosModules.default
agenix.nixosModules.default
nixvim.nixosModules.nixvim
];
environment.systemPackages = with pkgs; [
btc-clients.packages.x86_64-linux.bisq
btc-clients.packages.x86_64-linux.bisq2
btc-clients.packages.x86_64-linux.sparrow
];
};
};
}