mirror of
https://codeberg.org/muon/home.git
synced 2026-03-09 20:03:12 +00:00
Add sops-nix
This commit is contained in:
parent
49e796631b
commit
967becfdc9
10 changed files with 100 additions and 94 deletions
20
modules/nixos/sops/default.nix
Normal file
20
modules/nixos/sops/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, lib, config, inputs, system, ... }:
|
||||
let cfg = config.mods;
|
||||
|
||||
in {
|
||||
# options.mods.home.file = lib.mkOption {
|
||||
# description = "home-manager configuration file";
|
||||
# };
|
||||
|
||||
# config = {
|
||||
|
||||
# };
|
||||
#
|
||||
|
||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||
sops = {
|
||||
age.keyFile = "/home/muon/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets.muon-password = { };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue