51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{ pkgs, ... }: {
|
|
|
|
# Enable the X11 windowing system.
|
|
# You can disable this if you're only using the Wayland session.
|
|
services.xserver.enable = true;
|
|
|
|
# Enable the KDE Plasma Desktop Environment.
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
autoLogin = {
|
|
enable = true;
|
|
user = "sasza"; # ← Twój username
|
|
session = "plasma"; # "plasma" (X11) lub "plasmawayland" (Wayland)
|
|
};
|
|
}
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
# Configure keymap in X11
|
|
services.xserver.xkb = {
|
|
layout = "pl";
|
|
variant = "";
|
|
};
|
|
|
|
# Enable sound with pipewire.
|
|
services.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.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;
|
|
};
|
|
|
|
# paczki graficzne
|
|
environment.systemPackages = with pkgs; [
|
|
brave
|
|
];
|
|
|
|
# Enable touchpad support (enabled default in most desktopManager).
|
|
# services.xserver.libinput.enable = true;
|
|
|
|
# Install firefox.
|
|
# programs.firefox.enable = true;
|
|
|
|
}
|