hyprland: enable kwallet and gnome keyring on login with greetd

This commit is contained in:
Aly Raffauf 2024-04-17 20:17:17 -04:00
parent 35595293c3
commit f46827b48a

View file

@ -11,8 +11,6 @@
};
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
desktopConfig.displayManagers.lightdm.enable = lib.mkDefault false;
services.greetd = {
enable = true;
settings = rec {
@ -22,22 +20,25 @@
};
};
security.pam.services.greetd.enableKwallet = true;
security.pam.services.greetd.enableGnomeKeyring = true;
programs.hyprland.enable = true;
programs.hyprland.package =
inputs.hyprland.packages.${pkgs.system}.hyprland;
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gnome3;
services.dbus.packages = [pkgs.gcr];
services.udev.packages = [pkgs.swayosd];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
services.dbus.packages = [pkgs.gcr];
services.udev.packages = [pkgs.swayosd];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
};
}