2024-01-30 14:21:50 +00:00
|
|
|
{
|
2024-06-07 20:44:06 +01:00
|
|
|
config,
|
2024-04-11 22:38:26 +01:00
|
|
|
lib,
|
2024-01-30 14:21:50 +00:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-05-12 10:46:25 +01:00
|
|
|
imports = [./default.nix];
|
2024-04-11 22:38:26 +01:00
|
|
|
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
2024-06-07 06:17:37 +01:00
|
|
|
system.autoUpgrade.operation = "boot";
|
2024-06-19 13:55:24 +01:00
|
|
|
hardware.bluetooth.enable = true;
|
2024-04-11 22:38:26 +01:00
|
|
|
environment = {
|
2024-06-17 08:46:29 +01:00
|
|
|
plasma6 =
|
|
|
|
lib.mkIf config.services.desktopManager.plasma6.enable
|
|
|
|
{excludePackages = with pkgs.kdePackages; [plasma-browser-integration];};
|
2024-04-11 22:38:26 +01:00
|
|
|
systemPackages = with pkgs; [
|
|
|
|
xdg-utils
|
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_GB-large
|
|
|
|
];
|
|
|
|
};
|
|
|
|
programs = {
|
|
|
|
dconf.enable = true;
|
|
|
|
noisetorch.enable = true;
|
2024-06-16 11:05:24 +01:00
|
|
|
kdeconnect.enable = true;
|
2024-05-27 19:18:30 +01:00
|
|
|
gamescope = {
|
|
|
|
enable = true;
|
|
|
|
capSysNice = true;
|
|
|
|
};
|
2024-04-11 22:38:26 +01:00
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
services = {
|
2024-05-10 06:08:13 +01:00
|
|
|
flatpak.enable = true;
|
2024-06-17 08:46:29 +01:00
|
|
|
printing.enable = true;
|
2024-06-19 13:55:24 +01:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
};
|
2024-04-11 22:38:26 +01:00
|
|
|
xserver = {
|
2024-06-17 08:46:29 +01:00
|
|
|
enable = true;
|
2024-04-11 22:38:26 +01:00
|
|
|
xkb = {
|
|
|
|
layout = "gb";
|
|
|
|
variant = "";
|
|
|
|
options = "ctrl:nocaps";
|
|
|
|
};
|
2023-07-16 17:35:36 +01:00
|
|
|
};
|
2024-06-17 08:46:29 +01:00
|
|
|
displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
|
|
|
desktopManager.plasma6 = {
|
|
|
|
enable = true;
|
|
|
|
enableQt5Integration = true;
|
|
|
|
};
|
2023-11-09 11:48:40 +00:00
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
}
|