diff --git a/hosts/dregil/configuration.nix b/hosts/dregil/configuration.nix index ad00bf8..1a54eaa 100644 --- a/hosts/dregil/configuration.nix +++ b/hosts/dregil/configuration.nix @@ -104,6 +104,7 @@ in { "wheel" # Enable ‘sudo’ for the user. "input" ]; + shell = pkgs.zsh; }; # List packages installed in system profile. To search, run: @@ -132,6 +133,8 @@ in { programs.steam = { enable = true; }; + programs.zsh = { enable = true; }; + # List services that you want to enable: # Enable the OpenSSH daemon. diff --git a/outputs/homeConfigurations/default.nix b/outputs/homeConfigurations/default.nix index b12e670..ec43ba4 100644 --- a/outputs/homeConfigurations/default.nix +++ b/outputs/homeConfigurations/default.nix @@ -40,7 +40,7 @@ in { programs = { alacritty.enable = true; - autorandr.enable = true; + # autorandr.enable = true; browserpass = { enable = true; @@ -62,6 +62,13 @@ in { rofi.enable = true; rofi.pass.enable = true; zathura.enable = true; + + zsh = { + enable = true; + loginExtra = '' + export SSH_AUTH_SOCK="$(${pkgs.gnupg}/bin/gpgconf -L agent-ssh-socket)" + ''; + }; }; services.gpg-agent = { @@ -70,7 +77,7 @@ in { sshKeys = [ "9027AB16B9A7C20BD29F30F55CBA054430BF014C" ]; }; - services.autorandr = { enable = true; }; + # services.autorandr = { enable = true; }; xsession.enable = true; }