From 83ae4d942c50cbd0f257b3a985a670824def1152 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 11 Jan 2024 18:58:37 +0100 Subject: [PATCH] Revert "Revert "Revert "Revert "fix paths back"""" This reverts commit 930f566943a9766cf7a2bc505c3168e6b030cfa4. --- common.nix | 6 +++--- mini/configuration.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common.nix b/common.nix index 74c8661..9d97ed1 100644 --- a/common.nix +++ b/common.nix @@ -450,10 +450,10 @@ in users.users.root = { # init password - hashedPassword = builtins.readFile "/mnt/data/nixos/password.secret"; + 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"); + openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/home/cullmann/.ssh/authorized_keys"); }; home-manager.users.root = { @@ -482,7 +482,7 @@ in extraGroups = [ "vboxusers" "wheel" ]; # init password - hashedPassword = builtins.readFile "/mnt/data/nixos/password.secret"; + hashedPassword = builtins.readFile "/data/nixos/password.secret"; }; home-manager.users.cullmann = { diff --git a/mini/configuration.nix b/mini/configuration.nix index e4bd3c8..5210fdd 100644 --- a/mini/configuration.nix +++ b/mini/configuration.nix @@ -11,7 +11,7 @@ ./hardware-configuration.nix # Shared config of all machines - /mnt/data/nixos/common.nix + /data/nixos/common.nix ]; # amd graphics