chmod secrets

Signed-off-by: Hadi <hadi@example.fr>
This commit is contained in:
Hadi
2026-08-17 14:14:54 +02:00
parent 40dea7c9bc
commit a50e14d04c
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -14,26 +14,32 @@ in {
secrets = { secrets = {
ssh-config = { ssh-config = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/config"; path = "${home}/.ssh/config";
}; };
ssh-github-key = { ssh-github-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/github"; path = "${home}/.ssh/github";
}; };
anotherhadi-pgp-key = { anotherhadi-pgp-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/anotherhadi-priv.asc"; path = "${home}/.ssh/anotherhadi-priv.asc";
}; };
ssh-jack-key = { ssh-jack-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/jack"; path = "${home}/.ssh/jack";
}; };
signing-key = { signing-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/key"; path = "${home}/.ssh/key";
}; };
signing-pub-key = { signing-pub-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/key.pub"; path = "${home}/.ssh/key.pub";
}; };
}; };
+4
View File
@@ -14,18 +14,22 @@ in {
secrets = { secrets = {
ssh-config = { ssh-config = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/config"; path = "${home}/.ssh/config";
}; };
netrc = { netrc = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.netrc"; path = "${home}/.netrc";
}; };
ssh-github-key = { ssh-github-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/github"; path = "${home}/.ssh/github";
}; };
ssh-gitlab-key = { ssh-gitlab-key = {
owner = username; owner = username;
mode = "0600";
path = "${home}/.ssh/gitlab"; path = "${home}/.ssh/gitlab";
}; };
}; };