commit
86a1974010
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ git checkout -b $new_branch template
|
||||||
# generate hardware config
|
# generate hardware config
|
||||||
nixos-generate-config --show-hardware-config > ./hosts/${new_host}.nix
|
nixos-generate-config --show-hardware-config > ./hosts/${new_host}.nix
|
||||||
|
|
||||||
# Edit the new file, removing `not-deteced.nix` from the imports.
|
# Edit the new file, removing `not-detected.nix` from the imports.
|
||||||
# In order to maintain purity flakes cannot resolve from the NIX_PATH.
|
# In order to maintain purity flakes cannot resolve from the NIX_PATH.
|
||||||
# You may also want to import ./hosts/NixOS.nix from here which sets up
|
# You may also want to import ./hosts/NixOS.nix from here which sets up
|
||||||
# an efi bootloader, enables Network Manager and sets an empty root password.
|
# an efi bootloader, enables Network Manager and sets an empty root password.
|
||||||
|
@ -175,7 +175,7 @@ To keep [profiles](profiles) reusable across configurations, secrets should
|
||||||
only be imported from the `users` or [`hosts`](hosts) directory.
|
only be imported from the `users` or [`hosts`](hosts) directory.
|
||||||
|
|
||||||
## Modules, Packages and Overlays
|
## Modules, Packages and Overlays
|
||||||
All expressions in both [modules/defualt.nix](modules/default.nix) and
|
All expressions in both [modules/default.nix](modules/default.nix) and
|
||||||
[pkgs/default.nix](pkgs/default.nix) are available globally, anywhere else in the
|
[pkgs/default.nix](pkgs/default.nix) are available globally, anywhere else in the
|
||||||
repo. They are additionally included in the `nixosModules` and `overlay` flake
|
repo. They are additionally included in the `nixosModules` and `overlay` flake
|
||||||
outputs, respectively. Packages can manually be added to [flake.nix](flake.nix)
|
outputs, respectively. Packages can manually be added to [flake.nix](flake.nix)
|
||||||
|
|
Loading…
Reference in a new issue