From 2970b9dddc6b89705a6836fa0864fb841925ff6f Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:32 +0100 Subject: refactor(meta): flatten groups; only break out optional/hw-specific Drop the per-domain group fragmentation in meta/ and the parallel group-per-file structure in systemd-units/. meta/ (18 -> 6 groups): keep base, flatpak (magic), intel, nvidia, work, btc fold browser, bt, cpp, dev, extra, fonts, mail, media, nix, sound, wayland -> base (with `# --- section ---` comments preserving at-a-glance structure) drop fortran (niche; install ad-hoc when needed) systemd-units/: flatten to a single system.txt + user.txt; .ignore files move up one level; group concept and pairing rule removed. justfile: unit-list/unit-apply/unit-status no longer take a group argument. unit-add/unit-forget infer scope by probing `systemctl [--user] cat ` (system wins on tie). Top-level add/forget dispatcher updated: any unit-suffixed arg routes to unit-* without requiring a leading GROUP. docs: .github/copilot-instructions.md and README.md updated to describe the new flat layout. Pairing rule and group-token grammar gone. Pure layout refactor - no package contents change. --- systemd-units/system/.ignore | 14 -------------- systemd-units/system/base.txt | 19 ------------------- systemd-units/system/bt.txt | 4 ---- systemd-units/system/btc.txt | 4 ---- systemd-units/system/nix.txt | 3 --- 5 files changed, 44 deletions(-) delete mode 100644 systemd-units/system/.ignore delete mode 100644 systemd-units/system/base.txt delete mode 100644 systemd-units/system/bt.txt delete mode 100644 systemd-units/system/btc.txt delete mode 100644 systemd-units/system/nix.txt (limited to 'systemd-units/system') diff --git a/systemd-units/system/.ignore b/systemd-units/system/.ignore deleted file mode 100644 index 32f2225..0000000 --- a/systemd-units/system/.ignore +++ /dev/null @@ -1,14 +0,0 @@ -# Systemd units to suppress from 'just services-drift' uncurated output. -# Typically distro defaults enabled by systemd presets that are neither -# worth curating nor worth disabling. One unit per line, # comments OK. - -remote-fs.target -systemd-network-generator.service -systemd-networkd.socket -systemd-networkd-resolve-hook.socket -systemd-networkd-varlink.socket -systemd-networkd-varlink-metrics.socket -systemd-oomd.socket -systemd-resolved-monitor.socket -systemd-resolved-varlink.socket -systemd-userdbd.socket diff --git a/systemd-units/system/base.txt b/systemd-units/system/base.txt deleted file mode 100644 index 1e3af9b..0000000 --- a/systemd-units/system/base.txt +++ /dev/null @@ -1,19 +0,0 @@ -# Systemd units to enable when the 'base' meta group is installed. -# One unit per line, # comments OK. - -systemd-timesyncd.service -systemd-resolved.service -systemd-oomd.service -reflector.timer -paccache.timer -acpid.service -cpupower.service -iwd.service -nftables.service -systemd-networkd.service -systemd-networkd-wait-online.service -tlp.service -pcscd.socket -smartd.service -btrfs-scrub@-.timer -fwupd-refresh.timer diff --git a/systemd-units/system/bt.txt b/systemd-units/system/bt.txt deleted file mode 100644 index 985b8dc..0000000 --- a/systemd-units/system/bt.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Systemd units to enable when the 'bt' meta group is installed. -# One unit per line, # comments OK. - -bluetooth.service diff --git a/systemd-units/system/btc.txt b/systemd-units/system/btc.txt deleted file mode 100644 index b30199c..0000000 --- a/systemd-units/system/btc.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Systemd units to enable when the 'btc' meta group is installed. -# One unit per line, # comments OK. - -tor.service diff --git a/systemd-units/system/nix.txt b/systemd-units/system/nix.txt deleted file mode 100644 index de99aaa..0000000 --- a/systemd-units/system/nix.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Nix builder daemon — socket-activated, idle-friendly. -# The .service spawns on first client connect; the .socket is what gets enabled. -nix-daemon.socket -- cgit v1.3.1