feature: added basic sops support

This commit is contained in:
Jermeiah S 2025-06-14 13:55:51 -04:00
parent 3403cddad2
commit d934db7622
No known key found for this signature in database
4 changed files with 61 additions and 9 deletions

View file

@ -1,12 +1,15 @@
{
perSystem = { pkgs, ... }: {
devShells.default = pkgs.mkShell {
name = "nixos-unified-template-shell";
meta.description = "Shell environment for modifying this Nix configuration";
packages = with pkgs; [
just
nixd
];
perSystem =
{ pkgs, ... }:
{
devShells.default = pkgs.mkShell {
name = "nixos-unified-template-shell";
meta.description = "Shell environment for modifying this Nix configuration";
packages = with pkgs; [
sops
just
nixd
];
};
};
};
}

View file

@ -0,0 +1,13 @@
{
flake,
lib,
config,
pkgs,
...
}:
{
imports = [
flake.inputs.sops-nix.nixosModules.sops
];
sops.defaultSopsFile = ../../../secrets.yaml;
}