summaryrefslogtreecommitdiff
path: root/systems/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-24 04:53:52 -0400
committerseth <[email protected]>2024-05-24 21:36:05 -0600
commitf4bf843db8765fda3a4629d9846c2edc458712eb (patch)
treed776909aee242283915f4d332e67536b5994064b /systems/default.nix
parent6ceaeeb714b97984190981110120973d90d57ab4 (diff)
flatten imports
Diffstat (limited to 'systems/default.nix')
-rw-r--r--systems/default.nix38
1 files changed, 5 insertions, 33 deletions
diff --git a/systems/default.nix b/systems/default.nix
index 881310b..7bf8c5e 100644
--- a/systems/default.nix
+++ b/systems/default.nix
@@ -1,35 +1,7 @@
{
- inputs,
- self,
- ...
-}: {
- flake = {
- darwinConfigurations = let
- inherit (self.lib) darwinSystem;
- in {
- caroline = darwinSystem {
- modules = [./caroline];
- };
- };
-
- nixosConfigurations = let
- inherit (self.lib) nixosSystem nixosSystemStable;
- in {
- glados = nixosSystem {
- modules = [./glados];
- };
-
- glados-wsl = nixosSystem {
- modules = [./glados-wsl];
- };
-
- atlas = nixosSystemStable {
- modules = [./atlas];
- };
- };
- };
-
- perSystem = {system, ...}: {
- apps = (inputs.nixinate.nixinate.${system} self).nixinate;
- };
+ imports = [
+ ./darwin.nix
+ ./nixos.nix
+ ./nixinate.nix
+ ];
}