feat: move to flakes

This commit is contained in:
kat witch 2021-11-21 21:38:53 +00:00 committed by kat
parent 3447fa3d12
commit 7c5836558a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
31 changed files with 921 additions and 726 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, sources, lib, meta, config, ... }:
{ pkgs, inputs, lib, meta, config, ... }:
/*
This module:
@ -71,11 +71,11 @@ with lib;
config.network = {
nixos = {
extraModules = [
"${toString sources.home-manager}/nixos"
"${toString inputs.home-manager}/nixos"
] ++ lib.singleton meta.modules.nixos;
specialArgs = {
inherit (config.network) nodes;
inherit sources meta;
inherit inputs meta;
};
};
};