From 4239a01b817d4bf4eb6c36a5966d105223568ee3 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Wed, 4 Sep 2024 01:59:50 -0400 Subject: [PATCH] Start on Cinnamon-based `gui` file for `piplup`. --- system/piplup/gui-cinnamon.nix | 77 ++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 system/piplup/gui-cinnamon.nix diff --git a/system/piplup/gui-cinnamon.nix b/system/piplup/gui-cinnamon.nix new file mode 100644 index 0000000..47babbe --- /dev/null +++ b/system/piplup/gui-cinnamon.nix @@ -0,0 +1,77 @@ +{ + lib, + pkgs, + rom-properties, + ... +}: +{ + # Use PipeWire + security.rtkit.enable = true; + + # dconf + programs.dconf.enable = true; + + services = { + # Use PipeWire + pipewire = { + enable = true; + alsa.enable = true; + pulse.enable = true; + jack.enable = true; + }; + # Enable the X11 windowing system. + xserver = { + enable = true; + xkb.layout = "us"; + }; + # Enable the Cinnamon Desktop Environment. + cinnamon.apps.enable = true; + + displayManager.lightdm.enable = true; + desktopManager.cinnamon.enable = true; + }; + + + # Fonts + fonts = { + enableDefaultPackages = false; + packages = [ + # fonts.enableDefaultPackages + pkgs.dejavu_fonts + pkgs.freefont_ttf + pkgs.gyre-fonts + # TrueType substitutes for standard PostScript fonts + pkgs.liberation_ttf + pkgs.unifont + pkgs.noto-fonts-color-emoji + # fonts.enableDefaultPackages + pkgs.unifont_upper + pkgs.noto-fonts + pkgs.noto-fonts-cjk-sans + pkgs.corefonts + ]; + fontconfig.cache32Bit = true; + }; + + # KDE6 + # Enable the KDE Desktop Environment. + xdg.icons.enable = true; + 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 ]; })) + ]; + }; +}