Compare commits

..

No commits in common. "b8e37d3eeb55940e0f3aec706ee3bf71a7e3e7ea" and "41be6a0642cbe73b5dc0d7f9f5d76c579ae44c48" have entirely different histories.

3 changed files with 433 additions and 459 deletions

View File

@ -1,4 +1,3 @@
# vim: set foldmethod=marker:
{ {
description = "NixOS Configuration"; description = "NixOS Configuration";
@ -110,27 +109,11 @@
flake-parts, flake-parts,
... ...
} @ inputs: } @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} ( flake-parts.lib.mkFlake {inherit inputs;} ({
{
inputs, inputs,
self, self,
config,
lib,
... ...
} @ flakeArgs: { } @ flakeArgs: let
# 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;
# inputs is already defined # inputs is already defined
@ -417,8 +400,8 @@
} }
// builtins.removeAttrs args // builtins.removeAttrs args
["system" "nixpkgs" "home-manager" "modules" "username" "homeDirectory" "stateVersion" "entrypoint" "config"]); ["system" "nixpkgs" "home-manager" "modules" "username" "homeDirectory" "stateVersion" "entrypoint" "config"]);
# }}}
in { in {
flake = {
# for repl debugging via :lf . # for repl debugging via :lf .
inherit inputs vars; inherit inputs vars;
@ -572,9 +555,8 @@
}; };
}; };
}; };
}; systems = (import inputs.systems);
} }); # end outputs
); # end outputs
} }
# end flake # end flake

View File

@ -1,6 +0,0 @@
{ ... }:
{
imports = [
./packages.nix
];
}

View File

@ -1,2 +0,0 @@
{ ... }: {
}