2024-09-04 00:15:51 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
rom-properties,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
# Use PipeWire
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
|
|
|
|
services = {
|
2024-12-31 19:54:16 -05:00
|
|
|
# Use PipeWire
|
2024-09-04 00:15:51 -04:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
2024-12-31 19:54:16 -05:00
|
|
|
# Enable the X11 windowing system.
|
2024-09-04 00:15:51 -04:00
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
xkb.layout = "us";
|
|
|
|
};
|
2024-12-31 19:54:16 -05:00
|
|
|
# Enable the KDE Desktop Environment.
|
2024-09-04 00:15:51 -04:00
|
|
|
displayManager.sddm.enable = true;
|
|
|
|
desktopManager.plasma6.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# dconf
|
|
|
|
programs.dconf.enable = true;
|
2024-12-31 19:54:16 -05:00
|
|
|
|
2024-09-04 00:15:51 -04:00
|
|
|
xdg.icons.enable = true;
|
2024-12-31 19:54:16 -05:00
|
|
|
environment = {
|
|
|
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
systemPackages = [
|
|
|
|
pkgs.kdePackages.sddm-kcm
|
|
|
|
pkgs.kdePackages.audiocd-kio
|
|
|
|
pkgs.kdePackages.skanpage
|
|
|
|
pkgs.kdePackages.isoimagewriter
|
|
|
|
pkgs.kdePackages.krdc # RDP
|
|
|
|
# pkgs.kdePackages.neochat # Matrix
|
|
|
|
pkgs.kdePackages.breeze-icons
|
|
|
|
pkgs.kdePackages.discover # "KDE and Plasma resources management GUI"
|
|
|
|
pkgs.kdePackages.partitionmanager # Partition Manager
|
|
|
|
pkgs.exfatprogs
|
|
|
|
pkgs.sublime4
|
|
|
|
rom-properties.packages.x86_64-linux.rp_kde6
|
|
|
|
# (rom-properties.packages.x86_64-linux.rp_kde6.overrideAttrs (oldAttrs: { patches = oldAttrs.patches ++ [ ../files/rp_larger_icons.diff ]; }))
|
|
|
|
];
|
|
|
|
};
|
2024-09-04 00:15:51 -04:00
|
|
|
}
|