diff options
| author | seth <[email protected]> | 2024-02-04 16:07:57 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-02-04 16:07:57 -0500 |
| commit | 80321e46cbd2e436aa4b1c0edfcd5de2c71abcd0 (patch) | |
| tree | 349bd26cd6ad7d3e50c7d2e59bfb11ebb20ad1cd /configs.nix | |
| parent | cde5f27792b28aebde995d78d157ad0041d7018c (diff) | |
flakeModules/configurations: import nixos/darwin modules by default
Diffstat (limited to 'configs.nix')
| -rw-r--r-- | configs.nix | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/configs.nix b/configs.nix deleted file mode 100644 index de3cec7..0000000 --- a/configs.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ - lib, - withSystem, - inputs, - self, - ... -}: let - mkModulesFor = type: extra: - lib.concatLists [ - (lib.attrValues self."${type}Modules") - extra - ]; -in { - imports = [ - ./systems/deploy.nix - ./modules/flake/configurations.nix - ]; - - configurations = { - home = { - builder = inputs.hm.lib.homeManagerConfiguration; - pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; - - users = { - seth = {}; - }; - }; - - nixos = { - builder = inputs.nixpkgs.lib.nixosSystem; - - modules = mkModulesFor "nixos" [ - inputs.agenix.nixosModules.default - inputs.hm.nixosModules.home-manager - ]; - - systems = { - glados = {}; - - glados-wsl = {}; - - atlas = { - builder = inputs.nixpkgs-stable.lib.nixosSystem; - system = "aarch64-linux"; - }; - }; - }; - - darwin = { - builder = inputs.darwin.lib.darwinSystem; - - modules = mkModulesFor "darwin" [ - inputs.hm.darwinModules.home-manager - ]; - - systems = { - caroline = {}; - }; - }; - }; - - flake.legacyPackages.x86_64-linux = withSystem "x86_64-linux" ({pkgs, ...}: { - openWrtImages = { - turret = pkgs.callPackage ./systems/turret { - inherit (inputs) openwrt-imagebuilder; - }; - }; - }); -} |
