Files
nix-config/hosts/Winter/common/features/DesktopNiri.nix
T
WinterEkisha 5a55a57786 feat(files+applications): xdg, applications
applications: refactored some to home-manager

files: configured home-manager xdg.config to use certain applications

xdg portal: override for portal to use gtk instead of gnome for file
picking
2026-11-21 12:38:51 -08:00

49 lines
1.2 KiB
Nix

# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
config,
pkgs,
...
}: {
# --- Display & window managers ---
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
programs.niri.enable = true;
xdg.portal = { # Prevents niri from opening files with nautilus
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
config.niri = {
default = [ "gnome" "gtk" ];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
};
};
services.gnome.gnome-keyring.enable = true;
programs.seahorse.enable = true;
services.blueman.enable = true; #bluetooth
environment.systemPackages = (
(with pkgs; [
# -- Stable system utilities --
brightnessctl
playerctl
swaylock
])
++ (with pkgs.unstablePkgs; [
# -- Fast-moving Wayland tools --
xwayland-satellite
fuzzel
waybar
])
++ [
# -- External flake inputs --
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
]
);
}