mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 00:11:53 -05:00
hyprland: enable kwallet and gnome keyring on login with greetd
This commit is contained in:
parent
35595293c3
commit
f46827b48a
|
@ -11,8 +11,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
||||||
desktopConfig.displayManagers.lightdm.enable = lib.mkDefault false;
|
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
|
@ -22,22 +20,25 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.pam.services.greetd.enableKwallet = true;
|
||||||
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.hyprland.package =
|
programs.hyprland.package =
|
||||||
inputs.hyprland.packages.${pkgs.system}.hyprland;
|
inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
|
|
||||||
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gnome3;
|
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 = {
|
nix.settings = {
|
||||||
substituters = ["https://hyprland.cachix.org"];
|
substituters = ["https://hyprland.cachix.org"];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.packages = [pkgs.gcr];
|
|
||||||
services.udev.packages = [pkgs.swayosd];
|
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue