[djamba][stitch] configs refactoring + multiple hosts

This commit is contained in:
2026-02-28 15:05:47 +03:00
parent b0d27af111
commit a03f7d48ad
10 changed files with 428 additions and 343 deletions

View File

@@ -0,0 +1,45 @@
{ config, pkgs, lib, ... }:
{
# Enable the GNOME Desktop Environment.
services.displayManager.gdm = {
enable = true;
wayland = true;
};
services.desktopManager.gnome = {
enable = true;
extraGSettingsOverridePackages = [ pkgs.mutter ];
extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
'';
};
programs.dconf.profiles.user.databases = [
{
lockAll = true; # prevents overriding
settings = {
# re-login to activate
"org/gnome/mutter" = {
dynamic-workspaces = false;
};
"org/gnome/desktop/wm/preferences" = {
num-workspaces = lib.gvariant.mkInt32 6;
};
"org/gnome/desktop/wm/keybindings" = {
switch-to-workspace-1 = ["<Control>1"];
switch-to-workspace-2 = ["<Control>2"];
switch-to-workspace-3 = ["<Control>3"];
switch-to-workspace-4 = ["<Control>4"];
switch-to-workspace-5 = ["<Control>5"];
};
"org/gnome/desktop/interface" = {
document-font-name = "Noto Sans CJK SC 12 @wght=400";
font-name = "Noto Sans CJK SC 11 @wght=400";
monospace-font-name = "RecMonoLinear Nerd Font Mono 11";
};
};
}
];
}