nix/os-mods/desktop/default.nix

84 lines
1.4 KiB
Nix
Raw Normal View History

{ config
, lib
, pkgs
, ...
2023-10-16 23:54:37 +02:00
}: {
programs.dconf.enable = true;
# fonts
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
emacs-all-the-icons-fonts
corefonts
vistafonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira
fira-code
fira-code-symbols
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "NerdFontsSymbolsOnly" ]; })
2023-10-16 23:54:37 +02:00
];
services = {
xserver = {
enable = true;
layout = "us";
xkbVariant = "alt-intl";
desktopManager.plasma5.enable = true;
displayManager = {
defaultSession = "plasmawayland";
2023-10-16 23:54:37 +02:00
sddm.enable = true;
2023-10-16 23:54:37 +02:00
# autoLogin = {
# enable = true;
# user = "tristand";
# };
};
};
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
#########
2023-10-16 23:54:37 +02:00
## printing
2023-10-16 23:54:37 +02:00
printing = {
enable = true;
drivers = with pkgs; [
gutenprint
gutenprintBin
hplipWithPlugin
brlaser
brgenml1cupswrapper
];
2023-10-16 23:54:37 +02:00
};
};
## audio
sound.enable = true;
hardware.bluetooth.enable = true;
environment.systemPackages = with pkgs; [
cifs-utils
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}