mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:03:55 -05:00
Aly Raffauf
deb36b44e1
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* remove unused variables and nesting issues * more code cleanups and build fixes * cleanup sway * base/plymouth: removed unnecessary font override * hosts/common: remove unnecessary host checks
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.nemo.enable {
|
|
home.packages = [pkgs.cinnamon.nemo];
|
|
|
|
dconf = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
"org/nemo/preferences" = {
|
|
show-image-thumbnails = "always";
|
|
thumbnail-limit = lib.hm.gvariant.mkUint64 (100 * 1024 * 1024);
|
|
tooltips-in-icon-view = true;
|
|
tooltips-show-access-date = true;
|
|
tooltips-show-birth-date = true;
|
|
tooltips-show-file-type = true;
|
|
tooltips-show-mod-date = true;
|
|
};
|
|
|
|
"org/nemo/preferences/menu-config" = {
|
|
background-menu-open-as-root =
|
|
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
|
|
selection-menu-open-as-root =
|
|
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
|
|
};
|
|
|
|
"org/nemo/plugins".disabled-actions =
|
|
lib.optionals
|
|
(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable) [
|
|
"90_new-launcher.nemo_action"
|
|
"add-desklets.nemo_action"
|
|
"change-background.nemo_action"
|
|
"mount-archive.nemo_action"
|
|
"set-as-background.nemo_action"
|
|
"set-resolution.nemo_action"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|