summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-02-13 17:38:25 +0100
committerLinnnus <[email protected]>2024-02-13 17:39:52 +0100
commitcfac122324e3d05f2925673e99feacf8c3602e0c (patch)
tree73eed7262b94f3678f38f32ba951970e2d0bd066 /flake.nix
parentbbbdbd1094f1f09b8075da88f6b412d2e4af80ca (diff)
tmp: Move modules/nixos to services/ for shared and hosts/ahmed for private
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 2 insertions, 6 deletions
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;
};
}