30 lines
645 B
Nix
30 lines
645 B
Nix
|
{ lib, inputs, config, pkgs, username, hostname, gpu, ... }: {
|
||
|
# Enable sound with pipewire.
|
||
|
sound.enable = true;
|
||
|
hardware.pulseaudio.enable = false;
|
||
|
security.rtkit.enable = true;
|
||
|
services.pipewire = {
|
||
|
enable = true;
|
||
|
alsa.enable = true;
|
||
|
alsa.support32Bit = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
|
||
|
# Configure keymap in X11
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
layout = "us";
|
||
|
xkbVariant = "";
|
||
|
autorun = true;
|
||
|
desktopManager.xfce.enable = true;
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
arc-kde-theme
|
||
|
arc-theme
|
||
|
papirus-icon-theme
|
||
|
plasma-theme-switcher
|
||
|
tailscale-systray
|
||
|
];
|
||
|
}
|