cinnamon: enable nemo module by default

This commit is contained in:
Aly Raffauf 2024-06-21 23:06:13 -04:00
parent 7fad3c1a86
commit d099bc6ba0

View file

@ -5,54 +5,61 @@
... ...
}: { }: {
config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable { config = lib.mkIf config.alyraffauf.desktop.cinnamon.enable {
dconf.enable = true; alyraffauf = {
dconf.settings = { apps = {
"org/cinnamon/desktop/background".picture-uri = "file://${config.alyraffauf.theme.wallpaper}"; nemo.enable = lib.mkDefault true;
"org/cinnamon/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
"org/cinnamon/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
"org/cinnamon/desktop/interface".font-name = "${config.alyraffauf.theme.font.name} Regular ${toString config.alyraffauf.theme.font.size}";
"org/cinnamon/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
"org/cinnamon/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
"org/cinnamon/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
"org/cinnamon/gestures".enabled = true;
"org/cinnamon/muffin".workspace-cycle = true;
"org/cinnamon/muffin".workspaces-only-on-primary = true;
"org/cinnamon/settings-daemon/peripherals/touchscreen".orientation-lock = false;
"org/cinnamon/theme".name = config.alyraffauf.theme.gtk.name;
"org/gnome/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
"org/gnome/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
"org/gnome/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
"org/gnome/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
"org/gnome/desktop/interface".monospace-font-name = "${config.alyraffauf.theme.terminalFont.name} Regular ${toString config.alyraffauf.theme.terminalFont.size}";
"org/gnome/desktop/peripherals/touchpad".natural-scroll = true;
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
"org/gnome/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
"org/nemo/desktop".font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
"org/cinnamon/desktop/wm/preferences" = {
focus-mode = "mouse";
mouse-button-modifier = "<Super>";
}; };
"org/gnome/desktop/wm/preferences" = { };
focus-mode = "mouse"; dconf = {
mouse-button-modifier = "<Super>"; enable = true;
}; settings = {
"org/cinnamon/muffin".attach-modal-dialogs = true; "org/cinnamon/desktop/background".picture-uri = "file://${config.alyraffauf.theme.wallpaper}";
"org/cinnamon/desktop/keybindings/media-keys" = { "org/cinnamon/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
www = ["XF86WWW" "<Super>b"]; "org/cinnamon/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
terminal = ["<Primary><Alt>" "<Super>t"]; "org/cinnamon/desktop/interface".font-name = "${config.alyraffauf.theme.font.name} Regular ${toString config.alyraffauf.theme.font.size}";
}; "org/cinnamon/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
"org/cinnamon/desktop/keybindings/wm" = { "org/cinnamon/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
# TODO: Declaratively disable conflict with panel applet. "org/cinnamon/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
close = ["<Alt>F4" "<Super>c"]; "org/cinnamon/gestures".enabled = true;
switch-to-workspace-1 = ["<Super>1"]; "org/cinnamon/muffin".workspace-cycle = true;
switch-to-workspace-2 = ["<Super>2"]; "org/cinnamon/muffin".workspaces-only-on-primary = true;
switch-to-workspace-3 = ["<Super>3"]; "org/cinnamon/settings-daemon/peripherals/touchscreen".orientation-lock = false;
switch-to-workspace-4 = ["<Super>4"]; "org/cinnamon/theme".name = config.alyraffauf.theme.gtk.name;
switch-to-workspace-5 = ["<Super>5"]; "org/gnome/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name;
switch-to-workspace-6 = ["<Super>6"]; "org/gnome/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size;
switch-to-workspace-7 = ["<Super>7"]; "org/gnome/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name;
switch-to-workspace-8 = ["<Super>8"]; "org/gnome/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name;
switch-to-workspace-9 = ["<Super>9"]; "org/gnome/desktop/interface".monospace-font-name = "${config.alyraffauf.theme.terminalFont.name} Regular ${toString config.alyraffauf.theme.terminalFont.size}";
"org/gnome/desktop/peripherals/touchpad".natural-scroll = true;
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
"org/gnome/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
"org/nemo/desktop".font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}";
"org/cinnamon/desktop/wm/preferences" = {
focus-mode = "mouse";
mouse-button-modifier = "<Super>";
};
"org/gnome/desktop/wm/preferences" = {
focus-mode = "mouse";
mouse-button-modifier = "<Super>";
};
"org/cinnamon/muffin".attach-modal-dialogs = true;
"org/cinnamon/desktop/keybindings/media-keys" = {
www = ["XF86WWW" "<Super>b"];
terminal = ["<Primary><Alt>" "<Super>t"];
};
"org/cinnamon/desktop/keybindings/wm" = {
# TODO: Declaratively disable conflict with panel applet.
close = ["<Alt>F4" "<Super>c"];
switch-to-workspace-1 = ["<Super>1"];
switch-to-workspace-2 = ["<Super>2"];
switch-to-workspace-3 = ["<Super>3"];
switch-to-workspace-4 = ["<Super>4"];
switch-to-workspace-5 = ["<Super>5"];
switch-to-workspace-6 = ["<Super>6"];
switch-to-workspace-7 = ["<Super>7"];
switch-to-workspace-8 = ["<Super>8"];
switch-to-workspace-9 = ["<Super>9"];
};
}; };
}; };
}; };