fruitbasket/modules/desktop.nix

40 lines
917 B
Nix
Raw Normal View History

2021-11-17 11:39:34 +01:00
{ pkgs, config, ... }:
{
# enable XFCE as lightweight desktop environment
2022-03-05 13:56:48 +01:00
services = {
xserver.enable = true;
xserver.desktopManager.xfce.enable = true;
xserver.displayManager.defaultSession = "xfce";
2021-11-17 11:39:34 +01:00
2022-03-05 13:56:48 +01:00
# Configure keymap in X11
xserver.layout = "de";
xserver.xkbOptions = "eurosign:e,ctrl:nocaps,compose:prsc";
2021-11-17 11:39:34 +01:00
2022-03-05 13:56:48 +01:00
# enable touchpad support
xserver.libinput.enable = true;
};
2021-11-17 11:39:34 +01:00
# enable sound
sound.enable = true;
sound.mediaKeys.enable = true;
hardware.pulseaudio.enable = true;
# additional programs for a lightweight working office environment
environment.systemPackages = with pkgs; [
## audio management
pavucontrol
## terminal, browsers, text editing
vscodium
firefox
## document viewers
okular
## LaTeX
texlive.combined.scheme-full
texstudio
## the eternal pain continues
libreoffice-fresh
# media viewers
vlc
];
}