Files
nix-config/desktop.nix
Claude 3f736a9ac3 niri: add full desktop stack (bar, launcher, notifications, configs)
Moves programs.niri into a dedicated niri.nix module and installs the
usual Wayland userland — alacritty, fuzzel, waybar, mako, swaybg,
grim/slurp/wl-clipboard, swaylock/swayidle/wlogout, xwayland-satellite,
plus nm-applet/pavucontrol/playerctl/brightnessctl.

Ships starter configs for niri (keybinds mirroring sway/KDE habits,
screenshots to ~/Pictures/Screenshots, media keys, workspace switching,
auto-lock via swayidle), waybar with a Catppuccin-ish style, mako, and
fuzzel — all wired up through home-manager's xdg.configFile.

https://claude.ai/code/session_01NrGdGEBRbDbWvHUb3Lho44
2026-04-23 14:57:14 +00:00

48 lines
857 B
Nix

{ pkgs, ... }:
{
services = {
xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
};
};
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6.enable = true;
printing.enable = true;
pulseaudio.enable = false;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
};
security.rtkit.enable = true;
qt = {
enable = true;
platformTheme = "kde";
style = "kvantum";
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
QT_PLUGIN_PATH = [ "${pkgs.kdePackages.qtstyleplugin-kvantum}/lib/qt-6/plugins" ];
};
fonts.packages = with pkgs; [
geist-font
jetbrains-mono
nerd-fonts.symbols-only
];
}