From 0b8bd0acc1564faef4a300a59112821261c4c205 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 1 Sep 2024 17:38:06 +0200 Subject: move secret stuff in own dir --- share/users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/users.nix') diff --git a/share/users.nix b/share/users.nix index 687f0f5..8deb5bf 100644 --- a/share/users.nix +++ b/share/users.nix @@ -23,10 +23,10 @@ in users.root = { # init password - hashedPassword = builtins.readFile "/nix/data/nixos/password.secret"; + hashedPassword = builtins.readFile "/nix/data/nixos/secret/password.secret"; # use fixed auth keys - openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/nix/data/nixos/authorized_keys.secret"); + openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/nix/data/nixos/secret/authorized_keys.secret"); }; # -- cgit v1.2.3