diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 568d2bb..5ba9f3b 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -57,15 +57,16 @@ in { }; console.keyMap = variable.keyboardLayout; - programs.zsh.enable = true; + programs.zsh = { + enable = true; + loginShellInit = '' + dbus-update-activation-environment --systemd DISPLAY + eval $(gnome-keyring-daemon --start --components=ssh,secrets) + eval $(ssh-agent) + ''; + }; users.defaultUserShell = pkgs.zsh; - loginShellInit = '' - dbus-update-activation-environment --systemd DISPLAY - eval $(gnome-keyring-daemon --start --components=ssh,secrets) - eval $(ssh-agent) - ''; - # faster rebuilding documentation = { enable = true;