From f0cb0694db360cf9902c9c81a1314545b958907e Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 1 Jun 2023 09:51:02 -0700 Subject: [PATCH] added agenix --- flake.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 243b4e3..b32e69e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,17 +1,25 @@ { - description = "The Ultimate Sovran Pro Configuration from Sovran Systems"; + 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 = ""; + }; - outputs = { self, nixpkgs, nix-bitcoin, ... }: + outputs = { self, nixpkgs, nix-bitcoin, agenix, ... }: + { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { system ="x86_64-linux"; + }; nixosModules.Sovran_Pro = { pkgs, ... }: { @@ -21,7 +29,9 @@ ./modules/modules.nix nix-bitcoin.nixosModules.default - + + agenix.nixosModules.default + ]; }; };