xin/gui/xfce.nix

29 lines
605 B
Nix
Raw Permalink Normal View History

2023-07-11 09:12:50 -06:00
{
config,
lib,
pkgs,
...
}:
2022-08-25 12:21:35 -06:00
with lib; {
2023-07-11 09:12:50 -06:00
options = {xfce = {enable = mkEnableOption "Enable XFCE desktop.";};};
2022-08-25 12:21:35 -06:00
config = mkIf config.xfce.enable {
2022-12-28 14:42:00 -07:00
security.pam.services = {
gdm.enableKwallet = true;
kdm.enableKwallet = true;
lightdm.enableKwallet = true;
sddm.enableKwallet = true;
slim.enableKwallet = true;
};
environment.systemPackages = with pkgs.libsForQt5; [
kwallet
kwallet-pam
kwalletmanager
];
2022-08-25 12:21:35 -06:00
services.xserver.displayManager.sddm.enable = true;
2023-07-11 09:12:50 -06:00
services.xserver.desktopManager.xfce = {enable = true;};
2022-08-25 12:21:35 -06:00
};
}