Sovran_SystemsOS/flake.nix

48 lines
893 B
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 = "";
2023-06-28 19:59:38 -07:00
erosanix.url = "github:emmanuelrosa/erosanix";
2023-06-01 05:47:05 -07:00
};
2023-06-28 19:59:38 -07:00
outputs = { self, nixpkgs, nix-bitcoin, agenix, erosanix, ... }:
2023-06-01 09:51:02 -07:00
2023-06-01 05:47:05 -07:00
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system ="x86_64-linux";
2023-06-01 09:51:02 -07:00
2023-06-01 05:47:05 -07:00
};
2023-06-03 15:59:28 -07:00
nixosModules.Sovran_SystemsOS = { pkgs, ... }: {
2023-06-01 05:47:05 -07:00
imports = [
./configuration.nix
2023-06-01 05:47:05 -07:00
2023-07-28 18:59:32 -07:00
(nixpkgs + "/etc/nixos/hardware-configuration.nix")
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
2023-06-28 20:42:19 -07:00
];
environment.systemPackages = with pkgs; [
2023-06-28 21:03:26 -07:00
2023-06-28 20:43:46 -07:00
erosanix.packages.x86_64-linux.sparrow
2023-06-28 21:03:26 -07:00
];
2023-06-01 05:47:05 -07:00
};
};
}