nixcfg/homeManagerModules/apps/nemo/default.nix

24 lines
624 B
Nix
Raw Normal View History

2024-06-21 22:14:07 -04:00
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.apps.nemo.enable {
2024-06-21 22:14:07 -04:00
home.packages = with pkgs; [
cinnamon.nemo
];
dconf = {
enable = true;
settings = {
"org/nemo/preferences".show-image-thumbnails = "always";
"org/nemo/preferences/menu-config".background-menu-open-as-root =
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
2024-06-21 22:14:07 -04:00
"org/nemo/preferences/menu-config".selection-menu-open-as-root =
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
2024-06-21 22:14:07 -04:00
};
};
};
}