nixos-config/common/user-facing.nix
2024-03-16 11:00:06 -05:00

89 lines
1.6 KiB
Nix

{ inputs, config, pkgs, ... }:
{
nix.settings.experimental-features = "nix-command flakes";
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services = {
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
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;
};
};
services.xserver = {
# Enable the X11 windowing system.
enable = true;
# Enable the KDE Plasma Desktop Environment.
desktopManager.plasma5.enable = true;
# Enable sddm, add exwm
displayManager = {
sddm.enable = true;
defaultSession = "none+exwm";
};
# Configure keymap in X11
layout = "us";
xkbVariant = "";
libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
};
};
};
fonts = {
packages = with pkgs; [
roboto-mono
];
};
environment.systemPackages = with pkgs; [
unstable.firefox
unstable.google-chrome
bitwarden
vlc
mpv
obs-studio
gparted
audacity
qdirstat
unstable.signal-desktop
parsec-bin
unstable.discord
unstable.telegram-desktop
dunst
shutter
# unstable.rustdesk
pcmanfm
libsForQt5.dolphin
libsForQt5.dolphin-plugins
libsForQt5.ffmpegthumbs
libsForQt5.kdegraphics-thumbnailers
pavucontrol
xorg.xinit
sx
yt-dlp
dconf
];
}