···55let
66 inherit (inputs) self;
7788- inherit (lib)
99- optionals
1010- singleton
1111- concatLists
1212- recursiveUpdate
1313- mapAttrs
1414- ;
88+ inherit (lib.attrsets) recursiveUpdate mapAttrs;
99+ inherit (lib.lists) optionals singleton concatLists;
1510in
1611/**
1712 mkHost is a function that uses withSystem to give us inputs' and self'
+3-6
modules/flake/lib/validators.nix
···11{ lib, ... }:
22let
33- inherit (lib)
44- getAttrFromPath
55- filter
66- hasAttr
77- any
88- ;
33+ inherit (lib.attrsets) getAttrFromPath;
44+ inherit (lib.lists) any;
55+ inherit (lib) filter hasAttr;
96107 /**
118 a function that will append a list of groups if they exist in config.users.groups
···66 ...
77}:
88let
99- inherit (lib) mkImageMediaOverride cleanSource;
99+ inherit (lib.sources) cleanSource;
1010+ inherit (lib) mkImageMediaOverride;
10111112 # Get the hostname from our networking name provided in the mkNixosIso builder
1213 # If none is set then default to "nixos"
+1-1
modules/iso/networking.nix
···11{ lib, ... }:
22let
33- inherit (lib) mkForce;
33+ inherit (lib.modules) mkForce;
44in
55{
66 # allow ssh into the system for headless installs
···11{ lib, config, ... }:
22let
33- inherit (lib) mkIf;
33+ inherit (lib.modules) mkIf;
44in
55{
66 # compress half of the ram to use as swap basically, get more memory per memory