Add tools.coding option
This commit is contained in:
parent
7dd42c0382
commit
84e220c8a7
5 changed files with 53 additions and 48 deletions
|
|
@ -1,11 +1,7 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.tools.secrets = {
|
||||
enable = mkEnableOption "Enable secret-management tools";
|
||||
};
|
||||
|
||||
config = mkIf config.tools.secrets.enable {
|
||||
environment.systemPackages = [ pkgs.git-crypt ];
|
||||
};
|
||||
imports = [
|
||||
./coding.nix
|
||||
./secrets.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue