feature: added basic sops support
This commit is contained in:
parent
3403cddad2
commit
d934db7622
4 changed files with 61 additions and 9 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
13
modules/nixos/common/sops.nix
Normal file
13
modules/nixos/common/sops.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
flake,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
flake.inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
sops.defaultSopsFile = ../../../secrets.yaml;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue