flake/modules/nixos/sops/default.nix
2025-01-17 20:46:50 +00:00

20 lines
406 B
Nix

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