summaryrefslogtreecommitdiff
path: root/parts/systems/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-30 04:22:32 -0400
committerseth <[email protected]>2023-10-30 09:46:15 +0000
commit10b0df38b4286237b56ff9177f8d4c5676bfb5c1 (patch)
treeab298c74339bf9bc41571fa88746ecd9c522fbdf /parts/systems/default.nix
parent4c2c60a4f2b14c1e6ffaffe5e301dc31ac4fed0f (diff)
tree-wide: refactor
i went overboard on modules. this is much comfier
Diffstat (limited to 'parts/systems/default.nix')
-rw-r--r--parts/systems/default.nix47
1 files changed, 0 insertions, 47 deletions
diff --git a/parts/systems/default.nix b/parts/systems/default.nix
deleted file mode 100644
index e9ef9ba..0000000
--- a/parts/systems/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- inputs,
- self,
- withSystem,
- ...
-}: {
- flake = let
- inherit (self.lib.configs) mapSystems;
- profiles = import ./profiles.nix {inherit self inputs;};
- in {
- darwinConfigurations = mapSystems {
- caroline = {
- system = "x86_64-darwin";
- profile = profiles.personal-darwin;
- };
- };
-
- nixosConfigurations = mapSystems {
- glados = {
- modules = with inputs; [
- lanzaboote.nixosModules.lanzaboote
- ];
- profile = profiles.personal;
- };
-
- glados-wsl = {
- modules = [inputs.nixos-wsl.nixosModules.wsl];
- profile = profiles.personal;
- };
-
- atlas = {
- modules = [inputs.guzzle_api.nixosModules.default];
- system = "aarch64-linux";
- profile = profiles.server;
- };
- };
-
- openwrtConfigurations.turret = withSystem "x86_64-linux" ({pkgs, ...}:
- pkgs.callPackage ./turret {
- inherit (inputs) openwrt-imagebuilder;
- });
- };
-
- perSystem = {system, ...}: {
- apps = (inputs.nixinate.nixinate.${system} self).nixinate;
- };
-}