refactor(flake): optimize structure
- get rid of some `rec`s - move lib & overlays into flake modules
This commit is contained in:
parent
ea5b11995b
commit
10c0834daa
6 changed files with 90 additions and 74 deletions
system
|
@ -1,6 +1,8 @@
|
|||
{ lib, inputs, nixConfig, ... }:
|
||||
{ inputs, lib, ... }:
|
||||
|
||||
let flakes = lib.filterAttrs (name: value: value ? outputs) inputs;
|
||||
let
|
||||
flakes = lib.filterAttrs (name: value: value ? outputs) inputs;
|
||||
inherit (inputs.self.outputs) nixConfig;
|
||||
in {
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue