From f6503be17371b1e13b2e5d25e103f10ee61f57c4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 25 Mar 2024 19:22:35 +0100 Subject: back to btrfs --- common.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 713bce5..8b439cb 100644 --- a/common.nix +++ b/common.nix @@ -457,8 +457,8 @@ in # init password hashedPassword = builtins.readFile "/data/nixos/password.secret"; - # use same keys as my main user - openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/home/cullmann/.ssh/authorized_keys"); + # use fixed auth keys + openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/data/nixos/authorized_keys.secret"); }; home-manager.users.root = { @@ -488,6 +488,9 @@ in # init password hashedPassword = builtins.readFile "/data/nixos/password.secret"; + + # use fixed auth keys + openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/data/nixos/authorized_keys.secret"); }; home-manager.users.cullmann = { -- cgit v1.2.3