diff options
| author | seth <[email protected]> | 2024-02-10 18:52:50 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-10 18:58:50 -0500 |
| commit | 72346489e9ea53eb7689f5d632e854411f165da8 (patch) | |
| tree | 033dc8411281f8308f497c48a851f5a1e2987783 /systems | |
| parent | de90fa19303213ace45952711bf0fd6b3cd85f3d (diff) | |
flakeModules/configurations: refactor into freeform module, add aliases
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/default.nix | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/systems/default.nix b/systems/default.nix index 49f0e44..f708430 100644 --- a/systems/default.nix +++ b/systems/default.nix @@ -2,33 +2,31 @@ inputs, self, ... -}: { - configurations = { - nixos = { - builder = inputs.nixpkgs.lib.nixosSystem; - - systems = { - glados = {}; - - glados-wsl = {}; +}: let + nixos-stable = inputs.nixpkgs-stable.lib.nixosSystem; +in { + nixosConfigurations = { + glados = { + system = "x86_64-linux"; + }; - atlas = { - builder = inputs.nixpkgs-stable.lib.nixosSystem; - system = "aarch64-linux"; - }; - }; + glados-wsl = { + system = "x86_64-linux"; }; - darwin = { - builder = inputs.darwin.lib.darwinSystem; + atlas = { + builder = nixos-stable; + system = "aarch64-linux"; + }; + }; - systems = { - caroline = {}; - }; + darwinConfigurations = { + caroline = { + system = "x86_64-darwin"; }; }; - flake.deploy = { + deploy = { remoteBuild = true; fastConnection = false; nodes = self.lib.deploy.mapNodes [ |
