mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
docs: improve lib documentation (WIP)
This commit is contained in:
parent
b67abcce27
commit
e6038688ae
4 changed files with 46 additions and 52 deletions
|
|
@ -90,12 +90,6 @@
|
|||
inherit (self) outputs;
|
||||
lib = (nixpkgs.lib // home-manager.lib).extend (_: _: { swarselsystems = import ./lib { inherit self lib inputs outputs systems; }; });
|
||||
|
||||
|
||||
|
||||
# Home-Manager modules wanted on non-NixOS systems
|
||||
|
||||
# Home-Manager modules wanted on both NixOS and non-NixOS systems
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
|
|
@ -157,6 +151,7 @@
|
|||
import ./checks { inherit self inputs system pkgs; }
|
||||
);
|
||||
|
||||
|
||||
nixosConfigurations =
|
||||
lib.swarselsystems.mkFullHostConfigs (lib.swarselsystems.readHosts "nixos") "nixos";
|
||||
homeConfigurations =
|
||||
|
|
@ -183,6 +178,7 @@
|
|||
|
||||
lib.swarselsystems.mkHalfHostConfigs (lib.swarselsystems.readHosts "android") "android" lib.swarselsystems.pkgsFor.aarch64-linux;
|
||||
|
||||
|
||||
topology =
|
||||
|
||||
lib.swarselsystems.forEachSystem (pkgs: import inputs.nix-topology {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue