From 49e054e2820ca99acce1eb3f68d6d250f6b876a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 24 Jan 2023 09:39:19 -0300 Subject: [PATCH] Thunar: extract thunar config --- user/home.nix | 7 +------ user/thunar.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 user/thunar.nix diff --git a/user/home.nix b/user/home.nix index ca0b5b7..db2af5b 100644 --- a/user/home.nix +++ b/user/home.nix @@ -29,6 +29,7 @@ ./man.nix ./mpd.nix ./sway.nix + ./thunar.nix inputs.hyprland.homeManagerModules.default inputs.nix-index-database.hmModules.nix-index ]; @@ -67,9 +68,6 @@ ripgrep translate-shell - (xfce.thunar.override { - thunarPlugins = with pkgs.xfce; [ thunar-volman thunar-archive-plugin ]; - }) mate.engrampa # gnome.nautilus @@ -152,9 +150,6 @@ startInBackground = true; }; - xdg.configFile = { - "thunar/".source = ./thunar; - }; xdg.userDirs = let diff --git a/user/thunar.nix b/user/thunar.nix new file mode 100644 index 0000000..3921eb5 --- /dev/null +++ b/user/thunar.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + _thunar-terminal + (xfce.thunar.override { + thunarPlugins = with pkgs.xfce; [ thunar-volman thunar-archive-plugin ]; + }) + ]; + + xdg.configFile = { + "Thunar/".source = ./thunar; + }; +}