mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 15:45:38 +00:00
move generators into hosts directory
This commit is contained in:
parent
53a8cc83ea
commit
78e9c817d0
@ -164,9 +164,9 @@
|
|||||||
|
|
||||||
packages = let
|
packages = let
|
||||||
aws = system:
|
aws = system:
|
||||||
import ./generators/aws { inherit inputs globals overlays system; };
|
import ./hosts/aws { inherit inputs globals overlays system; };
|
||||||
staff = system:
|
staff = system:
|
||||||
import ./generators/staff { inherit inputs globals overlays system; };
|
import ./hosts/staff { inherit inputs globals overlays system; };
|
||||||
neovim = system:
|
neovim = system:
|
||||||
let pkgs = import nixpkgs { inherit system overlays; };
|
let pkgs = import nixpkgs { inherit system overlays; };
|
||||||
in import ./modules/common/neovim/package {
|
in import ./modules/common/neovim/package {
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
| Host | Purpose |
|
| Host | Purpose |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
| [aws](./aws/default.nix) | AWS AMI |
|
||||||
|
| [staff](./staff/default.nix) | Live USB stick |
|
||||||
| [flame](./flame/default.nix) | Oracle cloud server |
|
| [flame](./flame/default.nix) | Oracle cloud server |
|
||||||
| [hydra](./hydra/default.nix) | WSL config |
|
| [hydra](./hydra/default.nix) | WSL config |
|
||||||
| [lookingglass](./lookingglass/default.nix) | Work MacBook |
|
| [lookingglass](./lookingglass/default.nix) | Work MacBook |
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
{ inputs, system, globals, overlays, ... }:
|
{ inputs, system, globals, overlays, ... }:
|
||||||
|
|
||||||
with inputs;
|
inputs.nixos-generators.nixosGenerate {
|
||||||
|
|
||||||
nixos-generators.nixosGenerate {
|
|
||||||
inherit system;
|
inherit system;
|
||||||
format = "amazon";
|
format = "amazon";
|
||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
user = globals.user;
|
user = globals.user;
|
Loading…
Reference in New Issue
Block a user