mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
move generators into hosts directory
This commit is contained in:
parent
53a8cc83ea
commit
78e9c817d0
@ -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 {
|
||||
|
@ -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 |
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user