- 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>
51 lines
1.4 KiB
Nix
51 lines
1.4 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
|
|
# Enable Gnome
|
|
services.xserver.enable = true;
|
|
services.displayManager.gdm.enable = true;
|
|
services.desktopManager.gnome.enable = true;
|
|
services.displayManager.gdm.wayland = true;
|
|
boot.plymouth.enable = false;
|
|
|
|
# Add extensions, packages, and terminal
|
|
environment.systemPackages = with pkgs; [
|
|
ghostty
|
|
gnomeExtensions.blur-my-shell
|
|
gnomeExtensions.just-perfection
|
|
gnomeExtensions.appindicator
|
|
gnomeExtensions.hot-edge
|
|
#gnomeExtensions.rounded-window-corners-reborn
|
|
adwaita-icon-theme
|
|
gnome-themes-extra
|
|
papirus-icon-theme
|
|
];
|
|
|
|
# Set cursor theme
|
|
environment.sessionVariables = {
|
|
XCURSOR_THEME = "Adwaita";
|
|
XCURSOR_SIZE = "24";
|
|
XCURSOR_PATH = lib.mkForce [
|
|
"${pkgs.adwaita-icon-theme}/share/icons"
|
|
"$HOME/.icons"
|
|
"$HOME/.local/share/icons"
|
|
];
|
|
};
|
|
|
|
# Set icon theme via dconf
|
|
programs.dconf.profiles.user.databases = [{
|
|
settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
icon-theme = "Papirus";
|
|
cursor-theme = "Adwaita";
|
|
};
|
|
"org/gnome/mutter" = {
|
|
experimental-features = [ "variable-refresh-rate" ];
|
|
};
|
|
};
|
|
}];
|
|
|
|
programs.xwayland.enable = true;
|
|
programs.dconf.enable = true;
|
|
};
|
|
}
|