2023-09-15 00:21:07 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
desktopManager.xfce.enable = true;
|
|
|
|
videoDrivers = [ "nvidia" ];
|
2023-09-22 12:32:13 +02:00
|
|
|
layout = "us,no";
|
|
|
|
xkbVariant = "intl";
|
2023-09-15 00:21:07 +02:00
|
|
|
};
|
|
|
|
services.picom.enable = true;
|
|
|
|
hardware.opengl.enable = true;
|
2023-09-15 17:12:47 +02:00
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
2023-09-15 17:04:17 +02:00
|
|
|
|
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
|
|
|
fonts = with pkgs; [
|
|
|
|
noto-fonts
|
|
|
|
noto-fonts-emoji
|
|
|
|
noto-fonts-cjk-sans
|
|
|
|
font-awesome
|
|
|
|
fira-code
|
|
|
|
hack-font
|
|
|
|
(nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"Hack"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
2023-09-22 12:32:13 +02:00
|
|
|
|
|
|
|
# Remote:
|
|
|
|
services.xrdp = {
|
|
|
|
enable = true;
|
|
|
|
defaultWindowManager = "xfce4-session";
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
2023-09-15 00:21:07 +02:00
|
|
|
}
|