Jafner.net/dotfiles/nixos/desktop/sysconfig/desktop-environment.nix
Joey Hafner d002643347
Big update:
- WIP: Installer configuration to be used for portable or new systems.
- Add defaultApps (zen for links, codium for plain text).
- Refactor Ollama (AI) to skip model selection, WIP "codewriter" model.
- Password-manager: Switch to wayland package for rofi-rbw, increase lock timeout.
- Add mangohud config that shows FPS, frame time, throttling status in a horizontal layout below OW's HUD.
- Add nixGL config to use mesa and vulkan.
- Refactor configuration.nix as a "hub" file that just imports other files.
- amdgpu: Remove problematic amdvlk driver. Was causing misbehavior in Overwatch.
- gaming: Add gamescope and gamemode.
2024-12-12 00:00:08 -08:00

60 lines
1.2 KiB
Nix

{ pkgs, ... }: {
programs.kdeconnect.enable = true;
environment.systemPackages = with pkgs; [ kdePackages.kcalc wl-color-picker ];
environment.plasma6.excludePackages = with pkgs.kdePackages; [
elisa
kate
okular
discover
];
# Disable systemd's getty and autovt on tty1
systemd.services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
};
# Configure displayManager
services.displayManager = {
enable = true;
defaultSession = "plasma";
autoLogin.enable = true;
autoLogin.user = "joey";
sddm = {
enable = true;
autoNumlock = true;
wayland.enable = true;
wayland.compositor = "kwin";
};
};
# Configure desktopManager
services.desktopManager = {
plasma6.enable = true;
};
# Configure X11 server
services.xserver = {
enable = true;
videoDrivers = [ "amdgpu" ];
excludePackages = [ pkgs.xterm ];
xkb = {
layout = "us";
variant = "";
};
};
# Configure xwayland
programs.xwayland = {
enable = true;
};
# Configure XDG
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
}