| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Note
Before proceeding with the installation, check these files and adjust them for your system:
You can install on a running system or from the NixOS live installer. Get the minimal ISO from the NixOS website.
git clone https://github.com/Sly-Harvey/NixOS.git ~/NixOScd ~/NixOS./install.shThe install and rebuild scripts automate the setup process, including hosts, username, and applying the configuration. It also automatically generates the hardware-configuration.nix file based on your system's detected hardware, eliminating the need to manually generate it.
Method 1: Automatic - run the installer again to select or create another host:
./install.shMethod 2: Manual:
Copy hosts/Default to a new directory (e.g., hosts/Laptop)
Edit the new host's variables.nix and host-packages.nix
Add the host to flake.nix:
nixosConfigurations = {
Default = mkHost "Default";
Laptop = mkHost "Laptop";
};Track the new host with git:
git add hosts/LaptopApply configuration changes:
Replace <HOST> with the name of your host (e.g., Laptop).
List generations:
list-gensRollback to generation N:
rollback NReplace N with the generation number (e.g., 69).
View all keybindings with Super + ? or Super + Ctrl + K.
Pre-configured dev shells for various languages are included.
Initialize a project from a template:
nix flake init -t ~/NixOS#<TEMPLATE_NAME>Create a new project directory:
nix flake new -t ~/NixOS#<TEMPLATE_NAME> <PROJECT_NAME>Templates are defined in dev-shells/default.nix (python, node, etc.).
Enter the shell:
cd <PROJECT_NAME>
nix developIf you're using direnv, the shell activates automatically.
| Credit | Reason |
|---|---|
| Hyprland-Dots | Scripts and Waybar templates |
| HyDE | Additional scripts |
| rofi | Rofi launcher styles |
| dev-templates | Development templates |
| Vimjoyer | NixOS tutorials |
| Back | FazBrowse Home | New Git URL |