mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
Much change, kinda broke my git history
This commit is contained in:
parent
077322deaf
commit
4b0d80d349
13 changed files with 108 additions and 19 deletions
23
modules/secrets/default.nix
Normal file
23
modules/secrets/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, config, lib, inputs, ... }:
|
||||
let
|
||||
cfg = config.luj.secrets;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options.luj.secrets = {
|
||||
enable = mkEnableOption "Create secrets";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable
|
||||
{
|
||||
sops.secrets.ens-mail-passwd = {
|
||||
owner = "julien";
|
||||
path = "/home/julien/.config/ens-mail-passwd";
|
||||
};
|
||||
|
||||
sops.secrets.sendinblue-mail-passwd = {};
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue