nix/programs/jujutsu.nix
Markus Zoppelt 12392bae78 feat: migrate NixOS/Home Manager to 26.05 release
- Flake: Bump nixpkgs, nix-darwin, home-manager to 26.05; drop nixpkgs-unstable
- State versions: Bump to 26.05 across home.nix and NixOS configuration
- Hyprland: Pin configType="hyprlang" (Lua renderer broken in HM 26.05)
  - Move env vars from settings.env to home.sessionVariables
  - Fix walker menu bind (drop -m applications, use desktopapplications provider)
  - Fix emoji bind: walker -m unicode
  - Remove redundant defaults (rounding_power, vibrancy, force_default_wallpaper, pseudotile)
  - Remove dead windowrulev2 comment block
- Hyprpaper: Migrate to block syntax, add splash=false, use absolute paths
- Walker: Migrate to services.walker + services.elephant HM modules
  - Drop old walker 0.x raw configs (config.toml, default.css, default.toml)
  - Update tokyonight.css for walker 2.x GTK4 theme
- Waybar: Remove custom/gpu module and script
- Gaming: Remove gamescopeSession.enable (fixes bwrap setuid conflict with capSysNice)
  - Remove Steam CEF wrapper hack
- GUI: Restore GDM with gnome-session and XDG_DATA_DIRS fix for GDM 50
- Neovim: Remove pkgs-unstable reference, migrate extraLuaConfig -> initLua

feat(desktop): dark theme for libadwaita apps

Nautilus and Papers (GTK4/libadwaita) ignored Tokyonight and rendered
light. Two issues:

1. color-scheme=prefer-dark was only set in system dconf, which the
   per-user dconf shadowed. Move it to home-manager.
2. libadwaita queries org.freedesktop.portal.Settings, which had no
   backend on Hyprland: xdg-desktop-portal-gtk was missing from the
   home-manager user profile (where the running portal looks), and
   hyprland-portals.conf did not route Settings to gtk.

Add the gtk backend and per-desktop routing in the home-manager
xdg.portal scope; collapse now-redundant system blocks.

style: nix fmt
2026-05-25 22:22:56 +02:00

41 lines
685 B
Nix

{ name', email, ... }:
{
programs.jujutsu = {
enable = true;
settings = {
user = {
name = name';
email = email;
};
ui = {
default-command = "log";
pager = [
"hunk"
"pager"
];
diff-formatter = ":git";
};
aliases = {
n = [ "new" ];
l = [
"log"
"--no-pager"
"--limit"
"10"
];
s = [
"st"
"--no-pager"
];
tug = [
"bookmark"
"move"
"--from"
"heads(::@- & bookmarks())"
"--to"
"@-"
];
};
};
};
}