diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-09-01 17:38:06 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-09-01 17:38:06 +0200 |
commit | 0b8bd0acc1564faef4a300a59112821261c4c205 (patch) | |
tree | d94d87aed2a12197f0eb1c3c69f768d5e5acc41a /share/users.nix | |
parent | f640e44fd5520de3f4af27c51081979df7e59ff7 (diff) |
move secret stuff in own dir
Diffstat (limited to 'share/users.nix')
-rw-r--r-- | share/users.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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"); }; # |