1

remove unnecessary home-manager activation

This commit is contained in:
2022-08-12 17:34:59 +02:00
parent 32d74b0500
commit 40198be091

View File

@ -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;