{ config, lib, pkgs, ... }: { imports = [./default.nix]; # nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; system.autoUpgrade.operation = "boot"; environment = { # sessionVariables = { # NIXOS_OZONE_WL = "1"; # GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; # }; systemPackages = with pkgs; [ wtype # wl-clipboard xdg-utils # libnotify # libcamera glib # gsettings-desktop-schemas hunspell hunspellDicts.en_GB-large # pamixer # pavucontrol # playerctl # brightnessctl ]; }; # security = { # polkit.enable = true; # rtkit.enable = true; # pam = { # services.swaylock = {}; # loginLimits = [ # { # domain = "@users"; # item = "rtprio"; # type = "-"; # value = 1; # } # ]; # }; # }; sound.enable = false; hardware.bluetooth.enable = true; programs = { dconf.enable = true; noisetorch.enable = true; gamescope = { enable = true; capSysNice = true; }; # xwayland.enable = true; }; gtk.iconCache.enable = true; qt = { enable = true; platformTheme = "gnome"; style = "adwaita"; }; services = { flatpak.enable = true; accounts-daemon.enable = true; pipewire = { enable = true; alsa = { enable = true; support32Bit = true; }; audio.enable = true; jack.enable = true; pulse.enable = true; wireplumber.enable = true; }; # tumbler.enable = true; # udisks2.enable = true; xserver = { # enable = true; xkb = { layout = "gb"; variant = ""; options = "ctrl:nocaps"; }; }; displayManager = { enable = true; defaultSession = "plasma"; sddm = { enable = true; wayland.enable = true; }; }; desktopManager.plasma6.enable = true; }; xdg.portal = { enable = true; # config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes # extraPortals = [pkgs.xdg-desktop-portal-gtk]; }; }