From cfac122324e3d05f2925673e99feacf8c3602e0c Mon Sep 17 00:00:00 2001 From: Linnnus Date: Tue, 13 Feb 2024 17:38:25 +0100 Subject: tmp: Move modules/nixos to services/ for shared and hosts/ahmed for private --- flake.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 588bf98..daa98d4 100644 --- a/flake.nix +++ b/flake.nix @@ -47,9 +47,6 @@ darwinModules = builtins.attrValues (import ./modules/darwin).general ++ builtins.attrValues (import ./modules/darwin).personal; - nixosModules = - builtins.attrValues (import ./modules/nixos).general - ++ builtins.attrValues (import ./modules/nixos).personal; # This is a function that generates an attribute by calling a function # you pass to it, with each system as an argument. `systems` lists all @@ -91,8 +88,7 @@ ./hosts/ahmed/configuration.nix ./hosts/common.nix ./home - ] - ++ nixosModules; + ] ++ builtins.attrValues (import ./services); }; }; @@ -112,7 +108,7 @@ # We export the generally applicable modules. darwinModules = (import ./modules/darwin).geneal; - nixosModules = (import ./modules/nixos).general; homeModules = import ./modules/home-manager; + nixosModules = import ./services; }; } -- cgit v1.2.3