nixos-config/hosts/edison/desktop.nix

56 lines
1.0 KiB
Nix
Raw Normal View History

{ 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-12-25 13:31:43 +01:00
environment.systemPackages = with pkgs; [
xfce.xfce4-pulseaudio-plugin
];
services.picom.enable = true;
hardware.opengl.enable = true;
2023-12-25 13:31:43 +01:00
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;
2023-12-25 13:31:43 +01:00
packages = with pkgs; [
2023-09-15 17:04:17 +02:00
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-12-26 16:45:25 +01:00
services.flatpak.enable = true;
users.users."felixalb".packages = [ pkgs.flatpak ];
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
}