Files
nixy/hosts/server/secrets/default.nix
T
Hadi 6953622559 update server conf
Signed-off-by: Hadi <hadi@example.fr>
2026-08-17 15:06:33 +02:00

34 lines
698 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";
};
ssh-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";
};
};
};
environment.systemPackages = with pkgs; [
sops
age
];
}