nixos-config/modules/nixos/desktop/niri/default.nix
2025-11-25 22:16:04 -06:00

36 lines
No EOL
1.3 KiB
Nix

{ config, lib, pkgs, inputs, ... }:
{
# Opinionated Niri Setup - https://yalter.github.io/niri/Important-Software.html
# Consider: https://github.com/sodiboo/niri-flake
# NOTE: Rather than individual components, I'm going to start with a complete desktop shell if possible.
# According to the docs there's a few options: https://yalter.github.io/niri/Getting-Started.html#desktop-environments
# LXQt, many parts of XFCE, COSMIC + `cosmic-ext-extra-sessions`
# And what I actually want to try out is one of DankMaterialShell or Noctalia
programs.niri.enable = true;
environments.systemPackages = with pkgs; [
inputs.noctalia.packages.${system}.default
xwayland-satellite
fuzzel
kitty
fastfetch
]
# Notification Daemon
#services.mako.enable = true;
#services.mako.settings.default-timeout = 3000;
# Portal - https://wiki.archlinux.org/title/XDG_Desktop_Portal#List_of_backends_and_interfaces
# Authentication Agent (polkit)
#security.polkit.enable = lib.mkDefault true;
# Xwayland
# https://github.com/Supreeeme/xwayland-satellite
#programs.xwayland.enable = lib.mkDefault true;
# Screencasting - https://yalter.github.io/niri/Screencasting.html
# Needs D-Bus, pipewire, `xdg-desktop-portal-gnome`? Or a portal from the above table with screencasting support
}