summaryrefslogtreecommitdiff
path: root/systems/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-24 04:46:59 -0400
committerseth <[email protected]>2024-05-24 21:36:05 -0600
commitef2b5ea9f2f9450eac7ac2a875a8f1c6599c1ed0 (patch)
tree5d21686d2d34986c6fcdf23fcd8f3a3c176d53bd /systems/default.nix
parent5533072babca9fdefe45151ee834cdd14e1c679e (diff)
don't use flake module
Diffstat (limited to 'systems/default.nix')
-rw-r--r--systems/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/systems/default.nix b/systems/default.nix
index 33736e6..881310b 100644
--- a/systems/default.nix
+++ b/systems/default.nix
@@ -3,28 +3,28 @@
self,
...
}: {
- configurations = {
- darwin = {
- caroline = {
+ flake = {
+ darwinConfigurations = let
+ inherit (self.lib) darwinSystem;
+ in {
+ caroline = darwinSystem {
modules = [./caroline];
};
};
- nixos = let
- stable = inputs.nixpkgs-stable.lib.nixosSystem;
+ nixosConfigurations = let
+ inherit (self.lib) nixosSystem nixosSystemStable;
in {
- glados = {
+ glados = nixosSystem {
modules = [./glados];
};
- glados-wsl = {
+ glados-wsl = nixosSystem {
modules = [./glados-wsl];
};
- atlas = {
- builder = stable;
+ atlas = nixosSystemStable {
modules = [./atlas];
- system = "aarch64-linux";
};
};
};