Move all four channels and both home-manager inputs to the rebased fork and current channels, and refresh the other moving inputs. Bump the latest kernel to 7.3 and the release metadata to 26.11. Follow upstream removals: pin `colony-psql` (PostgreSQL 14) to `mine-stable` until the PostgreSQL 18 migration that follows, and `spoder` (Nextcloud 32) until its own migration, and take MinIO for `object` from `mine-stable` through a compatibility import. Replace Gitea's removed `DOMAIN` with `SSH_DOMAIN`, let `determinate-nix` pick its own nixpkgs, and drop the nginx bump now that every pin ships fixed releases. Move Frigate's recording retention to the `record.continuous` layout, since 0.18 rejects `record.retain`. Pass the borgbackup wrapper flags as separate arguments now that the package uses structured attributes. Stop `britway`'s mesh link gating `network-online.target`: systemd 262 holds it in configuring until `tailscale0` exists for its policy rule, and tailscaled only starts once the network is online. Keep the SCTP module block: no kernel in use carries the NGINX2Root SCTP fix yet. Record the checks `kelder` missed while out of service on its page. Notable upgrades: - Kernels: 6.18.64 LTS and 7.3.5 latest. - Gitea 1.27.2 -> 28.3.0, with schema migrations. - Home Assistant 2026.8.2 -> 2026.11.2 and Frigate 0.17.2 -> 0.18.3. - Jellyfin 10.11.11 -> 12.4, Radarr 6.1 -> 7.0.3 and Sonarr 4.0.17 -> 5.0.0 (a prerelease), each migrating its database. - HedgeDoc 1.11.1 -> 1.12.0, mautrix-whatsapp 26.08 -> 26.11, Vaultwarden 1.37.1 -> 1.37.5, Seerr 3.3.0 -> 3.5.2. - Headscale 0.29.3 -> 0.29.7, BIRD 2.19.2 -> 2.20.0 and Tuwunel 1.8.3 -> 1.9.4. - nginx 1.30.7 and 1.31.9 from the channels, with the NGINX2Root fixes. - `determinate-nix` 3.22.2 -> 3.24.3, `harmonia` 3.2.0 -> 3.3.0, `deploy-rs` 1.0.0, `copyparty` 1.20.21 -> 1.20.26, and `llm-agents` with Codex 0.170.0 and Claude Code 2.1.330. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
128 lines
3.0 KiB
Nix
128 lines
3.0 KiB
Nix
{ lib, pkgs, config, ... }:
|
|
let
|
|
inherit (lib) optional mkIf mkDefault mkMerge mkOverride;
|
|
inherit (lib.my) mkBoolOpt';
|
|
|
|
cfg = config.my.gui;
|
|
|
|
androidUdevRules = pkgs.runCommand "udev-rules-android" {
|
|
rulesFile = ./android-udev.rules;
|
|
} ''
|
|
install -D "$rulesFile" "$out"/lib/udev/rules.d/51-android.rules
|
|
'';
|
|
in
|
|
{
|
|
options.my.gui = with lib.types; {
|
|
enable = mkBoolOpt' true "Whether to enable GUI system options.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
hardware = {
|
|
graphics.enable = mkDefault true;
|
|
};
|
|
|
|
systemd = {
|
|
tmpfiles.rules = [
|
|
"d /tmp/screenshots 0777 root root"
|
|
];
|
|
};
|
|
|
|
security = {
|
|
polkit.enable = true;
|
|
pam.services.swaylock-plugin = {};
|
|
};
|
|
|
|
users = {
|
|
groups = {
|
|
adbusers.gid = lib.my.c.ids.gids.adbusers;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# for pw-jack
|
|
pipewire.jack
|
|
swaylock-plugin
|
|
];
|
|
services = {
|
|
resolved = {
|
|
settings.Resolve = {
|
|
FallbackDNS = mkOverride 99 (
|
|
"1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google " +
|
|
"1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google " +
|
|
"2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google " +
|
|
"2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google" );
|
|
LLMNR = "resolve";
|
|
};
|
|
};
|
|
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
dbus = {
|
|
packages = [ (pkgs.gcr_3 or pkgs.gcr) ];
|
|
};
|
|
gnome = {
|
|
gnome-keyring.enable = true;
|
|
};
|
|
udisks2.enable = true;
|
|
|
|
udev = {
|
|
packages = [
|
|
androidUdevRules
|
|
];
|
|
extraRules = ''
|
|
# Nvidia
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="wheel"
|
|
# Nintendo
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="057e", MODE="0664", GROUP="wheel"
|
|
# FT
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", MODE="0664", GROUP="wheel"
|
|
# /dev/player0
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="6969", MODE="0664", GROUP="wheel"
|
|
'';
|
|
};
|
|
};
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
fonts.packages = with pkgs; [
|
|
dejavu_fonts
|
|
freefont_ttf
|
|
gyre-fonts # TrueType substitutes for standard PostScript fonts
|
|
liberation_ttf
|
|
unifont
|
|
noto-fonts-color-emoji
|
|
];
|
|
|
|
xdg = {
|
|
portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
# For sway
|
|
wlr.enable = true;
|
|
configPackages = [
|
|
(pkgs.writeTextDir "share/xdg-desktop-portal/sway-portals.conf" ''
|
|
[preferred]
|
|
default=gtk
|
|
org.freedesktop.impl.portal.Screenshot=wlr
|
|
org.freedesktop.impl.portal.ScreenCast=wlr
|
|
'')
|
|
];
|
|
};
|
|
};
|
|
|
|
my = {
|
|
user = {
|
|
config = {
|
|
extraGroups = [ "adbusers" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|