diff --git a/config/env.nix b/config/env.nix index 105a5002..dd0bc145 100644 --- a/config/env.nix +++ b/config/env.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: { - config.environment.extraInit = + environment.extraInit = let systemdBin = lib.getBin config.systemd.package; in diff --git a/config/home-manager/base.nix b/config/home-manager/base.nix index 62c832c9..d3542c00 100644 --- a/config/home-manager/base.nix +++ b/config/home-manager/base.nix @@ -105,7 +105,7 @@ desktop: {pkgs, ...}: { primary = false; }; }; - config.systemd.user.sessionVariables = { + systemd.user.sessionVariables = { EDITOR = "nvim"; }; home = {