refactor: split services.nix into named generators, remove dead tray option
Phase 4: Break the monolithic systemd.services expression into named generator functions (mkPrepServices, mkVmServices, mkProxyServices, mkConsoleRelayServices, mkConsoleScreenServices, mkVirtiofsdServices, mkSoundServices, mkDbusProxyServices, mkWaylandSeccontextServices, mkGpuServices, mkUsbServices, mkBalloondService). The top-level expression is now a clean concatenation of named generators. Phase 5: Remove unused vm.tray option (superseded by vm.dbus.tray). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1c00fbf674
commit
86cdc93d0e
2 changed files with 574 additions and 621 deletions
|
|
@ -264,20 +264,6 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
tray = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
options = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable host-side tray proxy for this VM. Proxies guest SNI tray items to the host system tray.";
|
||||
};
|
||||
};
|
||||
};
|
||||
default = { };
|
||||
description = "Tray proxy configuration for this VM.";
|
||||
};
|
||||
|
||||
autoShutdown = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
options = {
|
||||
|
|
|
|||
1181
modules/services.nix
1181
modules/services.nix
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue