mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
lib/images: refactor unneeded code
This commit is contained in:
parent
d9bbe14bda
commit
f8f3f6990b
@ -2,9 +2,6 @@
|
|||||||
# for use in flake.nix and nowhere else.
|
# for use in flake.nix and nowhere else.
|
||||||
{ inputs, lib }:
|
{ inputs, lib }:
|
||||||
|
|
||||||
let
|
|
||||||
inherit (inputs) nixpkgs home-manager nixos-generators;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
# A wrapper around the NixOS configuration function.
|
# A wrapper around the NixOS configuration function.
|
||||||
mkHost = { system, extraModules ? [ ], extraArgs ? { }, nixpkgs-channel ? "nixpkgs" }:
|
mkHost = { system, extraModules ? [ ], extraArgs ? { }, nixpkgs-channel ? "nixpkgs" }:
|
||||||
|
Loading…
Reference in New Issue
Block a user