Thunar: extract thunar config

This commit is contained in:
Leonardo Eugênio 2023-01-24 09:39:19 -03:00
parent 67c087897a
commit 49e054e282
2 changed files with 13 additions and 6 deletions

View file

@ -29,6 +29,7 @@
./man.nix ./man.nix
./mpd.nix ./mpd.nix
./sway.nix ./sway.nix
./thunar.nix
inputs.hyprland.homeManagerModules.default inputs.hyprland.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index inputs.nix-index-database.hmModules.nix-index
]; ];
@ -67,9 +68,6 @@
ripgrep ripgrep
translate-shell translate-shell
(xfce.thunar.override {
thunarPlugins = with pkgs.xfce; [ thunar-volman thunar-archive-plugin ];
})
mate.engrampa mate.engrampa
# gnome.nautilus # gnome.nautilus
@ -152,9 +150,6 @@
startInBackground = true; startInBackground = true;
}; };
xdg.configFile = {
"thunar/".source = ./thunar;
};
xdg.userDirs = xdg.userDirs =
let let

12
user/thunar.nix Normal file
View file

@ -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;
};
}