summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-22 18:27:40 +0200
committerAlan Pearce2024-05-22 18:27:40 +0200
commit417a1ce6481adfc713d8d0d6ad03e211a3d0eb22 (patch)
tree03ab2b58e75d21797a7d4de6c647ecd96f484d92
parent19e9c7b8c8166cdab90e48a72319d2e87d7a258a (diff)
downloadnixfiles-417a1ce6481adfc713d8d0d6ad03e211a3d0eb22.tar.lz
nixfiles-417a1ce6481adfc713d8d0d6ad03e211a3d0eb22.tar.zst
nixfiles-417a1ce6481adfc713d8d0d6ad03e211a3d0eb22.zip
flake: remove local systems
-rw-r--r--flake.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/flake.nix b/flake.nix
index 9b867fd8..f0194dcc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,10 +3,6 @@
     nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
     nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
     nixos-hardware.url = "github:NixOS/nixos-hardware";
-    nix-index-database.url = "github:Mic92/nix-index-database";
-    nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
-    darwin.url = "github:lnl7/nix-darwin/master";
-    darwin.inputs.nixpkgs.follows = "nixpkgs";
     home-manager.url = "github:nix-community/home-manager";
     home-manager.inputs.nixpkgs.follows = "nixpkgs";
     emacs-overlay.url = "github:nix-community/emacs-overlay";
@@ -29,8 +25,6 @@
     , nixpkgs-small
     , nixos-hardware
     , home-manager
-    , darwin
-    , nix-index-database
     , secrets
     , emacs-overlay
     , agenix
@@ -63,19 +57,6 @@
       };
     in
     {
-      nixosConfigurations.prefect = nixpkgs.lib.nixosSystem {
-        system = utils.lib.system.x86_64-linux;
-        specialArgs = { inherit inputs; };
-        modules = [
-          ./system/prefect.nix
-        ] ++ (with nixos-hardware.nixosModules; [
-          common-cpu-amd
-          common-cpu-amd-pstate
-          common-pc-ssd
-          common-pc
-          common-gpu-nvidia-nonprime
-        ]);
-      };
       nixosConfigurations.nanopi = nixpkgs-small.lib.nixosSystem {
         system = utils.lib.system.aarch64-linux;
         specialArgs = { inherit inputs; };
@@ -93,34 +74,10 @@
           ./system/linde.nix
         ];
       };
-      darwinConfigurations.mba = darwin.lib.darwinSystem {
-        system = utils.lib.system.aarch64-darwin;
-        specialArgs = { inherit inputs; };
-        modules = [ ./system/mba.nix ];
-      };
-      homeConfigurations."alan@mba" = mkHomeConfiguration {
-        system = utils.lib.system.aarch64-darwin;
-        modules = [
-          ./user/mba.nix
-          nix-index-database.hmModules.nix-index
-          (secrets + "/default.nix")
-          (secrets + "/ssh.nix")
-        ];
-      };
-      homeConfigurations."alan@prefect" = mkHomeConfiguration {
-        system = utils.lib.system.x86_64-linux;
-        modules = [
-          ./user/prefect.nix
-          nix-index-database.hmModules.nix-index
-          (secrets + "/default.nix")
-          (secrets + "/ssh.nix")
-        ];
-      };
       homeConfigurations."alan@nanopi" = mkHomeConfiguration {
         system = utils.lib.system.aarch64-linux;
         modules = [
           ./user/nanopi.nix
-          nix-index-database.hmModules.nix-index
           (secrets + "/default.nix")
         ];
       };
@@ -128,7 +85,6 @@
         system = utils.lib.system.aarch64-linux;
         modules = [
           ./user/server.nix
-          nix-index-database.hmModules.nix-index
           (secrets + "/default.nix")
         ];
       };