From 9b851c37b88201558a7a8cf6871c12312bcf0acc Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:49:58 +0100 Subject: [PATCH] Switch home-manager to single-user --- flake.nix | 2 +- home/{ghoscht => }/adalbert.nix | 0 home/{ghoscht => }/global/default.nix | 0 hosts/common/global/user.nix | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename home/{ghoscht => }/adalbert.nix (100%) rename home/{ghoscht => }/global/default.nix (100%) diff --git a/flake.nix b/flake.nix index 2f57185..177dee1 100644 --- a/flake.nix +++ b/flake.nix @@ -74,7 +74,7 @@ pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance extraSpecialArgs = {inherit inputs outputs vars;}; modules = [ - ./home/ghoscht/adalbert.nix + ./home/adalbert.nix ]; }; }; diff --git a/home/ghoscht/adalbert.nix b/home/adalbert.nix similarity index 100% rename from home/ghoscht/adalbert.nix rename to home/adalbert.nix diff --git a/home/ghoscht/global/default.nix b/home/global/default.nix similarity index 100% rename from home/ghoscht/global/default.nix rename to home/global/default.nix diff --git a/hosts/common/global/user.nix b/hosts/common/global/user.nix index 7b6a690..9e7da41 100644 --- a/hosts/common/global/user.nix +++ b/hosts/common/global/user.nix @@ -42,5 +42,5 @@ in { packages = [pkgs.home-manager]; }; - home-manager.users.${vars.user} = import ../../../home/${vars.user}/${config.networking.hostName}.nix; + home-manager.users.${vars.user} = import ../../../home/${config.networking.hostName}.nix; }