refactor(flake): move assembly code out of lib

This commit is contained in:
2026-08-29 17:05:43 -04:00
parent abac67afb4
commit 1ba3bdf8d6
12 changed files with 46 additions and 53 deletions

View File

@@ -1,6 +1,7 @@
{
config,
lib,
dotfiles,
pkgs,
inputs,
...
@@ -63,8 +64,7 @@ in
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs;
my = inputs.self.lib;
inherit dotfiles inputs;
};
users.${user.name} = {
home.username = user.name;

View File

@@ -1,14 +1,14 @@
{
config,
lib,
my,
dotfiles,
...
}:
# The host networking foundation: per-VLAN bridges over a tagged trunk.
let
cfg = config.modules.network.vlans;
inherit (my) bridgeName;
inherit (dotfiles.lib) bridgeName;
vlanName = id: "${cfg.trunk}.${toString id}";
in