2026-03-28 12:40:30 +00:00
|
|
|
{ config, pkgs, lib, osConfig, inputs, ... }:
|
2026-01-20 08:38:40 +00:00
|
|
|
{
|
|
|
|
|
config = lib.mkIf (lib.elem osConfig.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
2026-03-28 12:40:30 +00:00
|
|
|
|
2026-04-08 20:21:52 +01:00
|
|
|
home.file.".local/share/backgrounds/wallpaper.png".source =
|
2026-03-28 12:40:30 +00:00
|
|
|
"${inputs.self}/walls/wallpaper.png";
|
2026-04-08 20:21:52 +01:00
|
|
|
|
|
|
|
|
# Minimal titlebars — hide window buttons and shrink headerbar
|
|
|
|
|
home.file.".config/gtk-4.0/gtk.css".force = true;
|
|
|
|
|
home.file.".config/gtk-4.0/gtk.css".text = ''
|
|
|
|
|
headerbar {
|
|
|
|
|
min-height: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
headerbar .title {
|
|
|
|
|
font-size: 0;
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
home.file.".config/gtk-3.0/gtk.css".force = true;
|
|
|
|
|
home.file.".config/gtk-3.0/gtk.css".text = ''
|
|
|
|
|
headerbar {
|
|
|
|
|
min-height: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
headerbar .title {
|
|
|
|
|
font-size: 0;
|
|
|
|
|
}
|
|
|
|
|
'';
|
2026-01-20 08:38:40 +00:00
|
|
|
|
|
|
|
|
# GNOME dconf settings
|
|
|
|
|
dconf.settings = {
|
|
|
|
|
# Interface / theme
|
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
|
color-scheme = "prefer-dark";
|
|
|
|
|
gtk-theme = "Adwaita-dark";
|
|
|
|
|
enable-hot-corners = false;
|
|
|
|
|
accent-color = "purple";
|
|
|
|
|
cursor-theme = "Adwaita";
|
|
|
|
|
cursor-size = 24;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Wallpaper settings
|
|
|
|
|
"org/gnome/desktop/background" = {
|
|
|
|
|
picture-uri = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png";
|
|
|
|
|
picture-uri-dark = "file://${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png";
|
|
|
|
|
picture-options = "zoom";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Keyboard input sources
|
|
|
|
|
"org/gnome/desktop/input-sources" = {
|
|
|
|
|
sources = [
|
|
|
|
|
(lib.hm.gvariant.mkTuple [ "xkb" "gb" ])
|
|
|
|
|
(lib.hm.gvariant.mkTuple [ "xkb" "no" ])
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Window manager keybindings
|
|
|
|
|
"org/gnome/desktop/wm/keybindings" = {
|
|
|
|
|
close = ["<Super>q"];
|
|
|
|
|
toggle-fullscreen = ["<Super>f"];
|
|
|
|
|
};
|
2026-01-21 13:54:13 +00:00
|
|
|
"org/gnome/desktop/wm/preferences" = {
|
2026-01-21 14:05:30 +00:00
|
|
|
resize-with-right-button = lib.hm.gvariant.mkBoolean true;
|
2026-04-08 20:21:52 +01:00
|
|
|
button-layout = "";
|
2026-01-21 13:54:13 +00:00
|
|
|
};
|
2026-01-20 08:38:40 +00:00
|
|
|
|
|
|
|
|
# Shell keybindings
|
|
|
|
|
"org/gnome/shell/keybindings" = {
|
|
|
|
|
show-screenshot-ui = ["<Shift><Super>s"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Custom keybindings
|
|
|
|
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
|
|
|
|
home = ["<Super>e"];
|
|
|
|
|
control-center = ["<Super>i"];
|
|
|
|
|
custom-keybindings = [
|
|
|
|
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
|
|
|
|
name = "Terminal";
|
Switch to fish shell, ghostty terminal, and simplified prompt
- Replace bash with fish as default shell (all hosts)
- Replace kgx with ghostty (desktop hosts), update Super+T keybinding
- Custom two-line fish prompt: NixOS icon, username, path, hostname, ❯
- Nix-shell awareness, red ❯ on error
- Simplify fastfetch: user@host, OS, kernel, shell, terminal, uptime, memory
- Ghostty config: FiraCode Nerd Font, catppuccin-mocha, no titlebar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:22:21 +01:00
|
|
|
command = "ghostty";
|
2026-01-20 08:38:40 +00:00
|
|
|
binding = "<Super>t";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Mouse acceleration
|
|
|
|
|
"org/gnome/desktop/peripherals/mouse" = {
|
|
|
|
|
accel-profile = "flat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Just Perfection extension
|
|
|
|
|
"org/gnome/shell/extensions/just-perfection" = {
|
|
|
|
|
window-demands-attention-focus = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|