From c40e4d0c88066c07b4e049d485fa47d0556d3de7 Mon Sep 17 00:00:00 2001 From: pagedMov Date: Wed, 6 Nov 2024 15:04:57 -0500 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 854ff33..e9d95da 100755 --- a/README.md +++ b/README.md @@ -23,6 +23,18 @@ Screenshots up to date as of [this commit](https://github.com/pagedMov/nixos-con | Text Editor | [Nixvim](https://github.com/nix-community/nixvim) | | Image Viewer | [feh](https://github.com/derf/feh) | +## Installation + +If you are on NixOS and have flakes enabled, you can just follow these steps: + + 1. Clone the repo to a directory + + 2. Run nixos-generate-config --show-hardware-config > hardware.nix to get a hardware config + + 3. Move the hardware config to the folder of the host you want to use + + 4. Run sudo nixos-rebuild switch --flake /path/to/flake#host where "host" is the name of the config you want to use + ## Configs Currently there are two complete system configurations available. These are: @@ -37,18 +49,6 @@ The 'Xenon' config is my server configuration and is highly unlikely to be of us This config uses custom modules for the home-manager and system configurations. Basically every part of the configuration can be toggled using an option, and some configs have extra options as well. All of the options declared in these modules can be found in the documentation under docs/options -## Installation - -If you are on NixOS and have flakes enabled, you can just follow these steps: - - 1. Clone the repo to a directory - - 2. Run nixos-generate-config --show-hardware-config > hardware.nix to get a hardware config - - 3. Move the hardware config to the folder of the host you want to use - - 4. Run sudo nixos-rebuild switch --flake /path/to/flake#host where "host" is the name of the config you want to use - ## Scripts ```chpaper``` - opens a fzf window with filenames and previews of images in $FLAKEPATH/assets/wallpapers. Picking one replaces the existing wallpaper path in $FLAKEPATH/flake.nix with the one you chose.