flake: move old let block to config.flake scope

This commit is contained in:
NullBite 2025-02-07 02:11:24 +00:00
parent c7d841b3e8
commit b8e37d3eeb

View File

@ -117,7 +117,19 @@
config, config,
lib, lib,
... ...
} @ flakeArgs: let } @ flakeArgs: {
# flake-parts imports
imports = [
./flake
];
config = {
# flake-parts systems (still uses nix-systems)
systems = import inputs.systems;
debug = lib.mkDefault true;
flake = let
# {{{ # {{{
inherit (inputs) nixpkgs nixpkgs-unstable; inherit (inputs) nixpkgs nixpkgs-unstable;
inherit (self) outputs; inherit (self) outputs;
@ -407,18 +419,6 @@
["system" "nixpkgs" "home-manager" "modules" "username" "homeDirectory" "stateVersion" "entrypoint" "config"]); ["system" "nixpkgs" "home-manager" "modules" "username" "homeDirectory" "stateVersion" "entrypoint" "config"]);
# }}} # }}}
in { in {
# flake-parts imports
imports = [
./flake
];
config = {
# flake-parts systems (still uses nix-systems)
systems = import inputs.systems;
debug = lib.mkDefault true;
flake = {
# for repl debugging via :lf . # for repl debugging via :lf .
inherit inputs vars; inherit inputs vars;