{ pkgs, ... }: { services = { xserver = { # Enable the X11 windowing system. # You can disable this if you're only using the Wayland session. enable = true; # Configure keymap in X11 xkb = { layout = "us"; variant = ""; }; # Enable touchpad support (enabled default in most desktopManager). # libinput.enable = true; }; # Enable the KDE Plasma Desktop Environment. displayManager.sddm.enable = true; desktopManager.plasma6.enable = true; # Enable CUPS to print documents. printing = { enable = true; drivers = with pkgs; [ gutenprint cnijfilter2 ]; }; avahi = { enable = true; nssmdns4 = true; openFirewall = true; }; # Enable sound with pipewire. pulseaudio.enable = false; pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this # jack.enable = true; # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) # media-session.enable = true; }; # Enable the OpenSSH daemon. (Look into Fail2Ban in the future) openssh = { enable = true; settings = { PasswordAuthentication = false; PermitRootLogin = "prohibit-password"; AllowUsers = [ "eclypse" ]; }; }; }; hardware = { bluetooth = { enable = true; powerOnBoot = true; }; sane = { enable = true; }; }; }