Update README
This commit is contained in:
parent
6e70e6e55b
commit
3f7b650f40
1 changed files with 8 additions and 7 deletions
15
README.md
15
README.md
|
@ -1,20 +1,21 @@
|
||||||
## Nix Systems
|
## Nix Systems
|
||||||
|
|
||||||
Thanks for taking a look at my Nix* flake!
|
Thanks for taking a look at my Nix* flake!
|
||||||
While this is primarily organized for my own use, you may find each individual service or config useful to read, reference, learn from, and adapt for your own systems.
|
This config is primarily organized for my own use, you may find individual services or config useful to read, reference, and adapt for your own systems.
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
You can install this flake from any system with Nix installed, including any ISO.
|
You can install this flake from any system with the Nix package manager installed, including any official images.
|
||||||
|
Disko is used to automatically format your drive according to a declared config.
|
||||||
Use ``nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ./filename.nix`` to format the disk with Disko.
|
Use ``nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ./filename.nix`` to format the disk with Disko.
|
||||||
You will want to generate a hardware-config.nix file using ``nixos-generate-config --root ./ --no-filesystems``, and adapt it to fit the format of ``/hosts``, adjusting for your specific system.
|
You will likely want to generate a per hardware nix file using ``nixos-generate-config --root ./ --no-filesystems``, and adapt it to fit the format of ``/hosts``, to ensure essential drivers are loaded on boot.
|
||||||
After, the install can be finished with ``nixos-install --root /mnt --flake .#host``, where ``host`` is a hostname defined in this flake.
|
Once formatted and adjusted, NixOS can be installed to the mounted drive with ``nixos-install --root /mnt --flake .#host``, where ``host`` is a hostname defined in this flake.
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
Home-Manager is handled with the system, but can be used on other systems with Nix without root.
|
Home-Manager is handled along side the system, but can be used on other systems with Nix without root.
|
||||||
A rebuild of a user's home is done with ``nh home switch . -c user``, where user is defined under ``homeConfigurations`` in the flake.
|
A rebuild of a user's home is done with ``nh home switch . -c user``, where ``user`` is defined under ``homeConfigurations`` in the flake.
|
||||||
|
|
||||||
My config pirmarily uses these tools:
|
My config pirmarily uses these tools:
|
||||||
``Niri`` - Window manager / Desktop
|
``Sway`` - Window manager / Desktop
|
||||||
``ZSH`` - Primary shell
|
``ZSH`` - Primary shell
|
||||||
``Foot`` - Terminal emulator
|
``Foot`` - Terminal emulator
|
||||||
``Rofi`` - App launcher and menu system
|
``Rofi`` - App launcher and menu system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue