refactor(flake): optimize structure

- get rid of some `rec`s
- move lib & overlays into flake modules
This commit is contained in:
Felix Schröter 2023-09-30 16:21:03 +02:00
parent ea5b11995b
commit 10c0834daa
Signed by: felschr
GPG key ID: 671E39E6744C807D
6 changed files with 90 additions and 74 deletions
system

View file

@ -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;