nixos/configuration/desktop.nix
Evie Litherland-Smith 62ca892b30 Squashed commit of the following:
commit 5374ae3e46
Author: Evie Litherland-Smith <evie@xenia.me.uk>
Date:   Mon Jun 17 08:25:18 2024 +0100

    Fix sddm crash/restart (hopefully) by removing x11-user

    Re-enable kdeconnect

commit ae08b23335
Author: Evie Litherland-Smith <evie@xenia.me.uk>
Date:   Sun Jun 16 20:47:03 2024 +0100

    Disable/remove more options not needed for plasma6

commit a44d79e6a0
Author: Evie Litherland-Smith <evie@xenia.me.uk>
Date:   Sun Jun 16 19:28:56 2024 +0100

    Disable extra services/programs covered by KDE
2024-06-17 08:46:29 +01:00

54 lines
1.1 KiB
Nix

{
config,
lib,
pkgs,
...
}: {
imports = [./default.nix];
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
system.autoUpgrade.operation = "boot";
hardware = {
pulseaudio.enable = true;
bluetooth.enable = true;
};
environment = {
plasma6 =
lib.mkIf config.services.desktopManager.plasma6.enable
{excludePackages = with pkgs.kdePackages; [plasma-browser-integration];};
systemPackages = with pkgs; [
xdg-utils
hunspell
hunspellDicts.en_GB-large
];
};
programs = {
dconf.enable = true;
noisetorch.enable = true;
kdeconnect.enable = true;
gamescope = {
enable = true;
capSysNice = true;
};
};
services = {
flatpak.enable = true;
printing.enable = true;
xserver = {
enable = true;
xkb = {
layout = "gb";
variant = "";
options = "ctrl:nocaps";
};
};
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
};
}