36 lines
712 B
Nix
36 lines
712 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); # only a spoonfull
|
||
|
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
|
||
|
];
|
||
|
}
|