From 361c676ce17abee151de0208bcb3ec9b47f16812 Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Wed, 2 Apr 2025 19:43:31 +0200
Subject: [PATCH] Changed: Thunar
---
home/file_manager/thunar.nix | 12 ++++++++++++
home/hyprland/hyprland.nix | 4 ++--
modules/system.nix | 8 +-------
users/phil/home.nix | 2 ++
4 files changed, 17 insertions(+), 9 deletions(-)
create mode 100644 home/file_manager/thunar.nix
diff --git a/home/file_manager/thunar.nix b/home/file_manager/thunar.nix
new file mode 100644
index 0000000..d34e6d2
--- /dev/null
+++ b/home/file_manager/thunar.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+{
+
+ programs.thunar = {
+ enable = true;
+ plugins = with pkgs.xfce; [
+ thunar-archive-plugin
+ thunar-volman
+ ];
+ };
+
+}
diff --git a/home/hyprland/hyprland.nix b/home/hyprland/hyprland.nix
index f62f7b7..5c7d1f3 100644
--- a/home/hyprland/hyprland.nix
+++ b/home/hyprland/hyprland.nix
@@ -49,7 +49,7 @@ in
inherit package;
enable = true;
- xwayland = { enable = true; };
+ xwayland.enable = true;
systemd = {
enable = true;
@@ -71,7 +71,7 @@ in
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"QT_QPA_PLATFORM,wayland"
"SDL_VIDEODRIVER,wayland"
- "GDK_BACKEND,wayland"
+ "GDK_BACKEND,wayland,x11"
"XCURSOR_SIZE,24"
"EDITOR,nvim"
];
diff --git a/modules/system.nix b/modules/system.nix
index 4b8a750..36975b1 100644
--- a/modules/system.nix
+++ b/modules/system.nix
@@ -96,13 +96,7 @@
};
programs.dconf.enable = true;
- programs.thunar = {
- enable = true;
- plugins = with pkgs.xfce; [
- thunar-archive-plugin
- thunar-volman
- ];
- };
+
programs.xfconf.enable = true;
services.gvfs.enable = true;
diff --git a/users/phil/home.nix b/users/phil/home.nix
index 0e68aae..faba91f 100644
--- a/users/phil/home.nix
+++ b/users/phil/home.nix
@@ -11,6 +11,8 @@
../../home/hyprland # Window Manager
+ ../../home/file_manager/thunar.nix # File Manager
+
../../home/programs/dev # Dev Tools
../../home/programs/media/media.nix