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