about summary refs log tree commit diff stats
path: root/secrets/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-23 14:22:30 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:31:49 +0200
commit8041059265a28815a1e53fad9068f2fc30ffacb5 (patch)
tree7da3c3b5385564b7f02136900794a951718b3ba7 /secrets/default.nix
parentDocs(hm): Typo (diff)
downloadnixos-config-8041059265a28815a1e53fad9068f2fc30ffacb5.zip
Fix(secrets/nheko): Make host specific
Diffstat (limited to 'secrets/default.nix')
-rw-r--r--secrets/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/secrets/default.nix b/secrets/default.nix
index 02771a68..16881513 100644
--- a/secrets/default.nix
+++ b/secrets/default.nix
@@ -1,7 +1,9 @@
-{...}: {
+{config, ...}: let
+  name = config.networking.hostName;
+in {
   age = {
     secrets.nheko = {
-      file = ./nheko;
+      file = ./nheko. + name;
       mode = "700";
       owner = "soispha";
       group = "users";