woot. got a working build again
This commit is contained in:
parent
d700126642
commit
ff0a8c5b1b
16 changed files with 73 additions and 89 deletions
22
modules/nixos/system/security/sops/default.nix
Normal file
22
modules/nixos/system/security/sops/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, config, namespace, inputs, ... }:
|
||||
let
|
||||
cfg = config.${namespace}.system.security.sops;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
options.${namespace}.system.security.sops = {};
|
||||
|
||||
config = {
|
||||
environment.systemPackages = with pkgs; [ sops ];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
|
||||
age.keyFile = "/home/";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue