feat: clean up the repo

This commit is contained in:
Kat Inskip 2023-04-29 12:00:58 -07:00
parent bc9c310c77
commit f6ec9f37eb
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
249 changed files with 804 additions and 13048 deletions

View file

@ -14,19 +14,6 @@
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
darwin = {
url = "github:lnl7/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-dns = {
url = "github:kirelagin/nix-dns/master";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
tf-nix = {
url = "github:arcnmx/tf-nix/master";
flake = false;
};
trusted = {
url = "github:input-output-hk/empty-flake";
};
@ -34,13 +21,6 @@
url = "github:edolstra/flake-compat";
flake = false;
};
nix-doom-emacs = {
url = "github:nix-community/nix-doom-emacs";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
nur.url = "github:nix-community/nur/master";
flake-utils.url = "github:numtide/flake-utils";
sops-nix = {
@ -55,22 +35,26 @@
};
};
outputs = { self, nixpkgs, flake-utils, ... }@inputs: let
providedSystems = flake-utils.lib.eachDefaultSystem
(system:
rec {
devShells.default = import ./devShell.nix { inherit system inputs; };
legacyPackages = import ./meta.nix { inherit system inputs; };
});
in providedSystems // {
nixosConfigurations = builtins.mapAttrs (_: config: config // {
inherit config;
}) self.legacyPackages.x86_64-linux.network.nodes.nixos;
darwinConfigurations = builtins.mapAttrs (_: config: {
inherit (config.deploy) pkgs;
inherit config;
system = config.system.build.toplevel;
}) self.legacyPackages.aarch64-darwin.network.nodes.darwin;
};
outputs = {
self,
nixpkgs,
flake-utils,
...
} @ inputs: let
providedSystems =
flake-utils.lib.eachDefaultSystem
(system: rec {
devShells.default = import ./devShell.nix {inherit system inputs;};
legacyPackages = import ./meta.nix {inherit system inputs;};
});
in
providedSystems
// {
nixosConfigurations = builtins.mapAttrs (_: config:
config
// {
inherit config;
})
self.legacyPackages.x86_64-linux.network.nodes;
};
}