home/nixos/graphical.nix
2023-10-21 21:20:03 +02:00

36 lines
686 B
Nix

{
pkgs,
background-image ? "pan-wire-3.png",
...
}:
{
# Enable the X11 windowing system.
services.xserver.enable = true;
services.xserver.desktopManager.xfce.enable = true;
services.xserver.displayManager = {
defaultSession = "xfce";
lightdm = {
background = ../backgrounds/${background-image};
greeters.slick.enable = true;
};
};
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.bluetooth.enable = true;
users.users.xenia = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
shell = pkgs.zsh;
};
environment.systemPackages = with pkgs; [
stilo-themes
firefox
];
}