move generators into hosts directory

This commit is contained in:
Noah Masur 2023-07-01 21:00:17 -06:00
parent 53a8cc83ea
commit 78e9c817d0
6 changed files with 6 additions and 6 deletions

View File

@ -164,9 +164,9 @@
packages = let
aws = system:
import ./generators/aws { inherit inputs globals overlays system; };
import ./hosts/aws { inherit inputs globals overlays system; };
staff = system:
import ./generators/staff { inherit inputs globals overlays system; };
import ./hosts/staff { inherit inputs globals overlays system; };
neovim = system:
let pkgs = import nixpkgs { inherit system overlays; };
in import ./modules/common/neovim/package {

View File

@ -2,6 +2,8 @@
| Host | Purpose |
| --- | --- |
| [aws](./aws/default.nix) | AWS AMI |
| [staff](./staff/default.nix) | Live USB stick |
| [flame](./flame/default.nix) | Oracle cloud server |
| [hydra](./hydra/default.nix) | WSL config |
| [lookingglass](./lookingglass/default.nix) | Work MacBook |

View File

@ -1,12 +1,10 @@
{ inputs, system, globals, overlays, ... }:
with inputs;
nixos-generators.nixosGenerate {
inputs.nixos-generators.nixosGenerate {
inherit system;
format = "amazon";
modules = [
home-manager.nixosModules.home-manager
inputs.home-manager.nixosModules.home-manager
{
nixpkgs.overlays = overlays;
user = globals.user;