Add sops-nix

This commit is contained in:
muon 2025-01-17 20:46:50 +00:00
parent 49e796631b
commit 967becfdc9
10 changed files with 100 additions and 94 deletions

View 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 = { };
};
}