From 7ec042f299c5619ff9d16dffb27ea2ab11aee2ba Mon Sep 17 00:00:00 2001 From: NullBite <me@nullbite.com> Date: Fri, 9 Feb 2024 09:17:06 +0100 Subject: [PATCH] flake: import home and system in functions --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 9398d12..c6e3dd5 100644 --- a/flake.nix +++ b/flake.nix @@ -66,7 +66,9 @@ let mapUserModules = lib.attrsets.mapAttrs (user: modules: {...}: { - imports = modules; + imports = [ + ./home + ] ++ modules; config = { home = { inherit stateVersion; }; }; @@ -96,6 +98,7 @@ lib.nixosSystem { inherit system; modules = [ + ./system ({pkgs, config, lib, ...}@args: { # Values for every single system that would not conceivably need