mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-02 07:27:20 +02:00
Much change, kinda broke my git history
This commit is contained in:
parent
dbd0f9a448
commit
af11597854
12 changed files with 104 additions and 17 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