{ nixos-config, config, pkgs, ... }: { time.timeZone = "Etc/GMT-1"; isGraphical = true; imports = [ ./kde ./documentation.nix ./graphical/fonts.nix "${nixos-config}/services/security-key" ]; home-manager.users.darkkirb.imports = if config.isSway then [ ./sway ./graphical/gtk-fixes ] else [ ./graphical/gtk-fixes ]; xdg.portal = { xdgOpenUsePortal = true; wlr.enable = config.isSway; extraPortals = with pkgs; (lib.mkMerge [ [ xdg-desktop-portal-gtk xdg-desktop-portal-kde ] (lib.mkIf config.isSway [ xdg-desktop-portal-wlr ]) ]); config.common.default = if config.isSway then "wlr" else "kde"; }; }