{ pkgs, inputs, ... }: { imports = [ ./fonts.nix inputs.private.nixosModules.sway ]; security.polkit.enable = true; services = { accounts-daemon.enable = true; logind = { lidSwitch = "suspend"; powerKey = "suspend"; powerKeyLongPress = "poweroff"; }; }; xdg.portal = { enable = true; wlr.enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; config = { common.default = [ "gtk" ]; sway.default = [ "wlr" "gtk" ]; }; }; environment.systemPackages = with pkgs; [ dex glib grim imagemagick libnotify mako polkit_gnome slurp swayidle swaylock waypipe wf-recorder wl-clipboard wofi wofi-emoji wtype xdg-user-dirs xdg-utils xsettingsd ]; hardware.graphics.enable = true; security.pam.services.swaylock = { }; programs.dconf.enable = true; programs.xwayland.enable = true; home-manager.users.artemis.imports = [ ../home/sway.nix ]; }