Modules: Add sops-nix module
This commit is contained in:
15
system/modules/sops/default.nix
Normal file
15
system/modules/sops/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
mylib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules) sops;
|
||||
in {
|
||||
options.modules.sops = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = {
|
||||
environment.systemPackages = [pkgs.sops];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user