2023-10-21 12:56:02 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
background-image ? "pan-wire-3.png",
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
# Enable the X11 windowing system.
|
2023-10-27 23:40:45 +02:00
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-06-24 21:48:23 +02:00
|
|
|
displayManager.lightdm.enable = true;
|
2023-10-27 23:40:45 +02:00
|
|
|
|
2024-06-08 22:15:09 +02:00
|
|
|
xkb = {
|
|
|
|
layout = "fox";
|
2024-06-24 21:47:55 +02:00
|
|
|
|
2024-06-08 22:15:09 +02:00
|
|
|
options = "caps:escape";
|
|
|
|
extraLayouts.fox = {
|
|
|
|
description = "Layout suitable to be used by a fox";
|
|
|
|
languages = ["se"];
|
2024-06-23 22:46:52 +02:00
|
|
|
symbolsFile = ./kblayouts/fox-symbols.xkb;
|
2024-06-08 22:15:09 +02:00
|
|
|
};
|
2023-10-21 12:56:02 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-24 21:48:23 +02:00
|
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
services.displayManager.defaultSession = "plasma";
|
|
|
|
|
2023-10-28 11:21:02 +02:00
|
|
|
console.useXkbConfig = true;
|
|
|
|
|
2024-06-27 11:23:57 +02:00
|
|
|
sound.enable = false; # let pipewire handle sound
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
wireplumber.enable = true;
|
|
|
|
};
|
2023-10-21 12:56:02 +02:00
|
|
|
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
|
|
|
users.users.xenia = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "docker" ];
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
stilo-themes
|
|
|
|
|
|
|
|
firefox
|
|
|
|
];
|
|
|
|
}
|