diff --git a/modules/home-manager/desktop/sway/default.nix b/modules/home-manager/desktop/sway/default.nix index 1c0c8fe..4ea96f4 100644 --- a/modules/home-manager/desktop/sway/default.nix +++ b/modules/home-manager/desktop/sway/default.nix @@ -123,6 +123,11 @@ in }; }; + # Avoid pixelated effect for QT application with fractionnal scaling + home.sessionVariables = { + QT_SCALE_FACTOR_ROUNDING_POLICY = "RoundPreferFloor"; + }; + qt = { enable = true; platformTheme = "gnome"; diff --git a/nixos/includes/desktop/pipewire.nix b/nixos/includes/desktop/pipewire.nix deleted file mode 100644 index 19c9744..0000000 --- a/nixos/includes/desktop/pipewire.nix +++ /dev/null @@ -1,9 +0,0 @@ -_: { - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; -} diff --git a/nixos/includes/desktop/swaylock.nix b/nixos/includes/desktop/swaylock.nix deleted file mode 100644 index bc48c63..0000000 --- a/nixos/includes/desktop/swaylock.nix +++ /dev/null @@ -1,3 +0,0 @@ -_: { - security.pam.services.swaylock = {}; -} diff --git a/nixos/includes/desktop/xdg-portal.nix b/nixos/includes/desktop/xdg-portal.nix deleted file mode 100644 index 9d2b049..0000000 --- a/nixos/includes/desktop/xdg-portal.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ...}: -{ - xdg.portal = { - enable = true; - wlr.enable = true; - # gtk portal needed to make gtk apps happy - extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - config = { - common = { - default = [ - "gtk" - ]; - "org.freedesktop.impl.portal.ScreenCast" = "wlr"; - "org.freedesktop.impl.portal.Screenshot" = "wlr"; - }; - }; - }; -}