From f802f641aeedf46d1a859544fbc057d99d375178 Mon Sep 17 00:00:00 2001 From: lily Date: Thu, 25 Jul 2024 18:58:28 -0400 Subject: [PATCH] update: README.md --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/README.md b/README.md index 3f1492b..677a68e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,45 @@ # NixOS configuration files Configured for KDE Plasma Wayland on Nvidia. + +## Customizing user settings + +To change your username or any additional user settings, you must: + +- Create `./nixos/users/.nix`, this can be copied from `luxzi.nix` in the same directory. +- Import the newly created file in './nixos/configuration.nix'. +- Edit `./home-manager/home.nix` to the corresponding username and home directory. + +## Adjusting hardware configuration + +--- + +**NOTE** + +If you use an older Nvidia graphics card, you do not need to modify `./nixos/hardware/nvidia.nix`. +Although if you use a newer Nvidia graphics card, it is advised to enable `open` to use the open-source kernel driver. + +To use AMD graphics cards: + +- Create `./nixos/hardware/amd.nix` +- Add `services.xserver.videoDrivers = [ "amdgpu" ];` + +--- + +## Deployment + +If you would like to use these configuration files as is, you can install a NixOS system by: + +- Mount and format desired filesystems (as described in the NixOS manual). +- Run the following git clone command while also making sure to replace `` with your desired username: +``` sh +git clone git@codeberg.org:luxzi/nixos /mnt/home//.dotfiles +``` +- Make any desired changes. +- Install the system with the command below, again, making sure to replace `` with your desired username: +``` sh +nixos-install --flake /mnt/home//.dotfiles +``` + +For more modified versions of this configuration, I recommend forking this repository. +