Initial commit with a stub for birne

This commit is contained in:
Felix Wittwer 2021-11-17 11:39:34 +01:00
commit 5cc2751787
Signed by untrusted user who does not match committer: wittwer
GPG key ID: 24363525EA0E8A99
9 changed files with 210 additions and 0 deletions

37
modules/desktop.nix Normal file
View file

@ -0,0 +1,37 @@
{ pkgs, config, ... }:
{
# enable XFCE as lightweight desktop environment
services.xserver.desktopManager.xfce.enable = true;
services.xserver.displayManager.defaultSession = "xfce";
# Configure keymap in X11
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e,ctrl:nocaps,compose:prsc";
# enable touchpad support
services.xserver.libinput.enable = true;
# 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
];
}