summaryrefslogtreecommitdiff
path: root/systems/darwin.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-09-07 11:51:57 -0400
committerseth <[email protected]>2024-09-07 12:00:19 -0400
commitdee6c5d9cbc12ff3012a27a5e69dfe331089310b (patch)
tree290b5862448b781776f6606534829d4a35c2ac7f /systems/darwin.nix
parent8539ad118cd34e8f51e736e1c6bec7a19f0e15f1 (diff)
tree-wide: use flake module for configurations
Diffstat (limited to 'systems/darwin.nix')
-rw-r--r--systems/darwin.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/systems/darwin.nix b/systems/darwin.nix
index ec67d09..120e088 100644
--- a/systems/darwin.nix
+++ b/systems/darwin.nix
@@ -1,13 +1,7 @@
-{ self, ... }:
{
- flake = {
- darwinConfigurations =
- let
- # see ./lib/builders.nix
- inherit (self.lib) darwinSystem;
- in
- {
- caroline = darwinSystem { modules = [ ./caroline ]; };
- };
+ darwinConfigurations = {
+ caroline = {
+ modules = [ ./caroline ];
+ };
};
}