From a8630322f77dbb7be4810099a42352b9278996a1 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 1 Oct 2023 10:41:09 -0400 Subject: treewide!: flatten to parts/ layout --- hosts/default.nix | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 hosts/default.nix (limited to 'hosts/default.nix') diff --git a/hosts/default.nix b/hosts/default.nix deleted file mode 100644 index e9ef9ba..0000000 --- a/hosts/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; - }; -} -- cgit v1.2.3