mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 12:11:13 +00:00
Deduplicate firefox, thunar, xfce, internationalization settings, nix-settings, and pipewire
This commit is contained in:
4
modules/applications/firefox.nix
Normal file
4
modules/applications/firefox.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.firefox.enable = true;
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
10
modules/applications/thunar.nix
Normal file
10
modules/applications/thunar.nix
Normal 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
|
||||
}
|
||||
10
modules/applications/xfce.nix
Normal file
10
modules/applications/xfce.nix
Normal 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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user