Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Dec 12, 2024
1 parent e37ca43 commit 5c6eb41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion age/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
gen =
ns: owner: group: mode:
self.lib.genAttrs ns (n: {
file = "./sec/${n}.age";
file = self + "/sec/${n}.age";
inherit owner group mode;
});
hard = i: gen i "root" "users" "400";
Expand Down
12 changes: 6 additions & 6 deletions hosts/azasos/rekey.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@ in
secrets =
{
wga = {
file = "./sec/wga.age";
file = self + "/sec/wga.age";
owner = "systemd-network";
group = "root";
mode = "400";
};

hyst-us-cli = {
file = "./sec/hyst-us-cli.age";
file = self + "/sec/hyst-us-cli.age";
mode = "640";
owner = "root";
group = "users";
name = "hyst-us-cli.yaml";
};
shadow-tls-relay = {
file = "./sec/shadow-tls-relay.age";
file = self + "/sec/shadow-tls-relay.age";
};
hyst-osa-cli = {
file = "./sec/hyst-osa-cli.age";
file = self + "/sec/hyst-osa-cli.age";
mode = "640";
owner = "root";
group = "users";
name = "hyst-osa-cli.yaml";
};
hyst-hk-cli = {
file = "./sec/hyst-hk-cli.age";
file = self + "/sec/hyst-hk-cli.age";
mode = "640";
owner = "root";
group = "users";
Expand All @@ -59,7 +59,7 @@ in
(
n:
nameValuePair "hyst-${n}-cli" {
file = "./sec/hyst-${n}-cli.age";
file = self + "/sec/hyst-${n}-cli.age";
mode = "640";
owner = "root";
group = "users";
Expand Down

0 comments on commit 5c6eb41

Please sign in to comment.