Deduplicate firefox, thunar, xfce, internationalization settings, nix-settings, and pipewire

This commit is contained in:
2025-06-25 05:55:49 -07:00
parent 98f47d6c6a
commit c110357818
9 changed files with 104 additions and 164 deletions

View File

@@ -0,0 +1,4 @@
{ config, pkgs, ... }:
{
programs.firefox.enable = true;
}

View File

@@ -1,7 +1,9 @@
{ config, pkgs, ... }:
{
# Support steam hardware like the index and steam controller
hardware.steam-hardware.enable = true;
# Steam program itself
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
@@ -9,9 +11,17 @@
gamescopeSession.enable = true;
};
# Valve's micro-compositor
programs.gamescope = {
enable = true;
capSysNice = true;
};
# Open source OpenXR runtime for VR
services.monado = {
enable = true;
defaultRuntime = true;
highPriority = true;
};
}

View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
programs.thunar.enable = true;
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
}

View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the XFCE Desktop Environment.
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.xfce.enable = true;
}