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: 09934db50d6cae2062d79577792fe980e8e2f3ff
35 lines
853 B
Nix
35 lines
853 B
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 = {};
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [sops age];
|
|
}
|