{ self, inputs, ... }: { flake.nixosModules.sops = {config, ...}: { imports = [inputs.sops-nix.nixosModules.sops]; sops = { age.keyFile = "/etc/sops/age/keys.txt"; defaultSopsFile = ./secrets.yaml; secrets = { gotify-desktop-key = { path = "/run/secrets/gotify-desktop-key.txt"; }; }; templates = { "gotify-desktop-key" = config.sops.placeholder.gotify-desktop-key; }; }; }; }