xin/gui/xfce.nix

24 lines
603 B
Nix
Raw Normal View History

2022-12-28 14:42:00 -07:00
{ config, lib, pkgs, ... }:
2022-08-25 12:21:35 -06:00
with lib; {
options = { xfce = { enable = mkEnableOption "Enable XFCE desktop."; }; };
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;
services.xserver.desktopManager.xfce = { enable = true; };
};
}