diff options
| author | seth <[email protected]> | 2023-03-21 22:57:19 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-21 22:57:19 -0400 |
| commit | f5681326f3c01e52cbf6cbc625224c1a95f8fe17 (patch) | |
| tree | 5045cd9178eb789a6549118585828a350353d5a0 /flake.nix | |
| parent | a97b232e631242e8fa951c8c862270dc6a57f5cd (diff) | |
add config for turret (openwrt router)
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -38,6 +38,10 @@ }; nixos-hardware.url = "github:NixOS/nixos-hardware"; nur.url = "github:nix-community/NUR"; + openwrt-imagebuilder = { + url = "github:astro/nix-openwrt-imagebuilder"; + inputs.nixpkgs.follows = "nixpkgs"; + }; pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgsUnstable"; @@ -51,6 +55,7 @@ self, nixpkgs, flake-utils, + openwrt-imagebuilder, pre-commit-hooks, ... }: let @@ -99,5 +104,7 @@ }) // { nixosConfigurations = mapHosts hosts; + + packages.x86_64-linux.turret = nixpkgs.legacyPackages.x86_64-linux.callPackage ./hosts/turret {inherit openwrt-imagebuilder;}; }; } |
