summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-05 11:35:18 -0400
committerGitHub <[email protected]>2024-05-05 11:35:18 -0400
commit34a7a042a36b63eb6b900932b1e420e4b6014a57 (patch)
tree40dace9b4bb7b6e99c5d54165d8eb203963f5306 /systems
parent9380483bdf038149fc308698e9f115b1474a0c85 (diff)
simplify some things (#353)
* flake: drop flake-parts * flake: add back flake-parts * flake: use flake module again for configurations
Diffstat (limited to 'systems')
-rw-r--r--systems/default.nix36
1 files changed, 18 insertions, 18 deletions
diff --git a/systems/default.nix b/systems/default.nix
index f708430..441628f 100644
--- a/systems/default.nix
+++ b/systems/default.nix
@@ -2,24 +2,7 @@
inputs,
self,
...
-}: let
- nixos-stable = inputs.nixpkgs-stable.lib.nixosSystem;
-in {
- nixosConfigurations = {
- glados = {
- system = "x86_64-linux";
- };
-
- glados-wsl = {
- system = "x86_64-linux";
- };
-
- atlas = {
- builder = nixos-stable;
- system = "aarch64-linux";
- };
- };
-
+}: {
darwinConfigurations = {
caroline = {
system = "x86_64-darwin";
@@ -33,4 +16,21 @@ in {
"atlas"
];
};
+
+ nixosConfigurations = let
+ stable = inputs.nixpkgs-stable.lib.nixosSystem;
+ in {
+ glados = {
+ system = "x86_64-linux";
+ };
+
+ glados-wsl = {
+ system = "x86_64-linux";
+ };
+
+ atlas = {
+ builder = stable;
+ system = "aarch64-linux";
+ };
+ };
}