Fix sessionvariables
This commit is contained in:
parent
b0c8363a69
commit
94e36eae06
|
@ -127,13 +127,15 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
systemd.user.sessionVariables = config.home.sessionVariables;
|
||||
programs.zsh.sessionVariables = config.home.sessionVariables;
|
||||
pam.sessionVariables = config.home.sessionVariables;
|
||||
home = {
|
||||
packages = builtins.attrValues my-pkgs.home-pkgs;
|
||||
sessionVariables = {
|
||||
PATH =
|
||||
"$HOME/.cargo/bin:/etc/profiles/per-user/${config.home.username}/bin:$HOME/.nix-profile/bin:$PATH";
|
||||
BROWSER = "${pkgs.firefox}/bin/firefox";
|
||||
EDITOR = "${pkgs.neovim}/bin/nvim";
|
||||
TERMINAL = config.m-0.terminal;
|
||||
EMAIL = me.mail;
|
||||
SUDO_ASKPASS = let
|
||||
|
|
|
@ -14,6 +14,9 @@ in {
|
|||
file.".zprofile".text = ''
|
||||
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
||||
'';
|
||||
file.".zlogin".text = ''
|
||||
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
|
||||
'';
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/hotkeys" =
|
||||
{
|
||||
binding = "<Super>space";
|
||||
command = "/home/maralorn/.cargo/bin/hotkeys";
|
||||
command = "kitty hotkeys";
|
||||
name = "Hotkeys";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
|
|
Loading…
Reference in a new issue