Files
AZ-NIX-CLIENTS/hosts/AZ-LT-NIX/programs.nix
T
m3ta-chiron 3c25fc5d41 fix(overlay): patch font-manager 0.9.4 for gtk4 4.22 Vala errors
font-manager 0.9.4 fails to compile against gtk4 4.22: the
Gtk.DragIcon.get_for_drag binding changed in the gtk4 vapi, producing
'use new operator' errors in Collections.vala and FontList.vala that
broke home-manager-path for AZ-LT-NIX.

Fix is upstream PR FontManager/font-manager#468, already carried by
nixpkgs master but predating our locked nixpkgs-unstable. Vendor the
patch as an overlay mod (from m3tam3re/nixos-config overlays/mods) and
enable outputs.overlays.modifications in hosts/common. Thin clients are
unaffected - they do not import hosts/common. Drop once the nixpkgs
lock carries fix-compilation-error-with-newer-vala-versions.patch.

Also resolve the evaluation warning on AZ-LT-NIX where
programs.nh.clean.enable and nix.gc.automatic were both enabled: keep
the nh clean timer (--keep 3 --keep-since 4d) and disable the plain
nix-gc timer via mkForce on this host only.
2026-08-31 16:54:15 +02:00

52 lines
1.4 KiB
Nix

{
lib,
pkgs,
...
}: {
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
programs.hyprland = {
enable = true;
xwayland.enable = true;
withUWSM = true;
};
programs.fish.enable = true;
programs.localsend.enable = true;
programs.thunar = {
enable = true;
plugins = with pkgs; [thunar-archive-plugin thunar-volman];
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-gnome3;
settings = {default-cache-ttl = 10800;};
};
programs.obs-studio = {
enable = true;
enableVirtualCamera = true;
plugins = with pkgs.obs-studio-plugins; [
obs-composite-blur
obs-vaapi
# obs-vertical-canvas
obs-vkcapture
wlrobs
];
};
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/m3tam3re/p/nixos/nixos-config";
};
# nh.clean and nix.gc.automatic conflict (NixOS assertion) — this host
# uses the nh clean timer above for generation/GC retention, so disable
# the plain nix-gc timer inherited from hosts/common.
nix.gc.automatic = lib.mkForce false;
services.netbird.enable = true;
environment.systemPackages = [pkgs.netbird-ui];
}