From 40198be091fcc5679ef7a517e22ec89639959bf3 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Fri, 12 Aug 2022 17:34:59 +0200 Subject: [PATCH] remove unnecessary home-manager activation --- system/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/system/default.nix b/system/default.nix index 2c4cd3ae..29ddd465 100644 --- a/system/default.nix +++ b/system/default.nix @@ -32,19 +32,12 @@ settings.auto-optimise-store = true; optimise.automatic = true; - # TODO: Understand this # This will add your inputs as registries, making operations with them (such # as nix shell nixpkgs#name) consistent with your flake inputs. + # (Registry contains flakes) registry = lib.mapAttrs' (n: v: lib.nameValuePair n { flake = v; }) inputs; }; - # TODO: Understand that - # Will activate home-manager profiles for each user upon login - # This is useful when using ephemeral installations - environment.loginShellInit = '' - [ -d "$HOME/.nix-profile" ] || /nix/var/nix/profiles/per-user/$USER/home-manager/activate &> /dev/null - ''; - # Bootloader/Kernel stuff boot = { kernelPackages = pkgs.linuxPackages_zen;