mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
Former-commit-id: e1c7055db2
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ pkgs, ... }: {
|
|
sops = {
|
|
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
|
defaultSopsFile = ./secrets.yaml;
|
|
secrets = {
|
|
sshconfig = {
|
|
owner = "hadi";
|
|
path = "/home/hadi/.ssh/config";
|
|
mode = "0600";
|
|
};
|
|
github-key = {
|
|
owner = "hadi";
|
|
path = "/home/hadi/.ssh/github";
|
|
mode = "0600";
|
|
};
|
|
signing-key = {
|
|
owner = "hadi";
|
|
path = "/home/hadi/.ssh/key";
|
|
mode = "0600";
|
|
};
|
|
signing-pub-key = {
|
|
owner = "hadi";
|
|
path = "/home/hadi/.ssh/key.pub";
|
|
mode = "0600";
|
|
};
|
|
cloudflare-dns-token = { path = "/etc/cloudflare/dnskey.txt"; };
|
|
nextcloud-pwd = { path = "/etc/nextcloud/pwd.txt"; };
|
|
adguard-pwd = { };
|
|
hoarder = { };
|
|
recyclarr = {
|
|
owner = "recyclarr";
|
|
mode = "0777";
|
|
};
|
|
wireguard-pia = {
|
|
# owner = "torrenter";
|
|
mode = "0600";
|
|
};
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ sops age ];
|
|
}
|