better secrets management

This commit is contained in:
Cy Pokhrel 2024-11-23 21:41:28 -05:00
parent 3c6d6f8686
commit b15432bd15
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E
5 changed files with 64 additions and 3 deletions

View file

@ -3,9 +3,13 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs }:
outputs = { self, nixpkgs, sops-nix }:
let
lib = nixpkgs.lib;
in {
@ -14,6 +18,7 @@
system = "x86_64-linux";
modules = [
./configuration.nix
sops-nix.nixosModules.sops
];
};
};