mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 23:29:17 -05:00
24 lines
639 B
Nix
24 lines
639 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
config = lib.mkIf config.alyraffauf.apps.nemo.enable {
|
||
|
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.alyraffauf.desktop.hyprland.enable || config.alyraffauf.desktop.sway.enable);
|
||
|
"org/nemo/preferences/menu-config".selection-menu-open-as-root =
|
||
|
!(config.alyraffauf.desktop.hyprland.enable || config.alyraffauf.desktop.sway.enable);
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|