grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderflake rewrite + a bunch\ni keep holding onto changes forever this is not how you use vcs08de973

main
464 B25 linesraw
1{
2  host,
3  inputs,
4  lib,
5  ...
6}:
7{
8  imports = [ inputs.sops-nix.nixosModules.sops ];
9
10  sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
11  sops.gnupg.sshKeyPaths = [ ];
12
13  sops.secrets =
14    lib.optionalAttrs
15      (builtins.elem host.name [
16        "knuth"
17        "dijkstra"
18      ])
19      {
20        ntfy-nixos-switch = {
21          sopsFile = ../secrets + "/${host.name}/ntfy-nixos-switch.json";
22          format = "binary";
23        };
24      };
25}