{config, pkgs, ...}: let # Define the custom background package with the correct relative path background-package = pkgs.stdenvNoCC.mkDerivation { name = "background-image"; src = ./other/wallpaper.png; # Place wallpaper.jpg in the same directory as this config file dontUnpack = true; installPhase = '' cp $src $out ''; }; in { imports = [ #Example: #./hardware-configuration.nix ./autostart.nix #Moved Back to flake until plasma theme configuration is done! #./zsh.nix ]; # Enable the X11 windowing system. # You can disable this if you're only using the Wayland session. services.xserver.enable = true; # Configure keymap in X11 services.xserver.xkb = { layout = "de"; variant = ""; }; #theme-reminder uses a definitive /home/cookiez path!!! system.activationScripts.script.text = '' source /etc/nixos/other/colors.sh source /etc/nixos/other/pfp.sh source /etc/nixos/other/theme-reminder.sh ''; services.displayManager.sddm = { enable = true; theme = "breeze"; wayland.enable = true; }; # Enable the KDE Plasma Desktop Environment. services.desktopManager.plasma6.enable = true; environment.systemPackages = with pkgs; [ (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" '' [General] background = "${background-package}" '') ]; programs.steam.enable = true; }