mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 21:33:51 +00:00
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.misc.dconf;
|
|
in {
|
|
options = { module.misc.dconf = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
dconf = True // {
|
|
settings = let
|
|
gnome = "org/gnome/desktop";
|
|
nemo = "org/nemo";
|
|
in {
|
|
"${gnome}/wm/preferences" = { button-layout = ""; };
|
|
"${gnome}/applications/terminal" = { exec = "kitty"; };
|
|
"${nemo}/icon-view" = {
|
|
default-zoom-level = "larger";
|
|
captions = [ "none" "none" "none" ];
|
|
};
|
|
"${nemo}/window-state" = {
|
|
network-expanded = false;
|
|
start-with-sidebar = true;
|
|
start-with-status-bar = false;
|
|
start-with-menu-bar = false;
|
|
};
|
|
"${nemo}/preferences" = {
|
|
disable-menu-warning = true;
|
|
show-computer-icon-toolbar = true;
|
|
show-edit-icon-toolbar = false;
|
|
show-home-icon-toolbar = true;
|
|
show-icon-view-icon-toolbar = false;
|
|
show-list-view-icon-toolbar = false;
|
|
show-next-icon-toolbar = false;
|
|
show-previous-icon-toolbar = false;
|
|
show-search-icon-toolbar = false;
|
|
show-up-icon-toolbar = false;
|
|
thumbnail-limit = "2147483648";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|