This repository contains my Flake based NixOS Configuration Files.
Clone this Repository somewhere you can edit it easily:
git clone https://git.kb-one.de/kb01/aux-config ~/Project/aux-config
Check if your Hostname matches one of the Hosts in the config.
hostname
Hostname does not Match (click to expand)
Install NixOS on the current system with forced hostname.
cd ~/Project/aux-config
sudo nixos-rebuild switch --flake .#voloxo
Warning
This will change the Hostname of your System to voloxo!
Install NixOS for your current Hostname.
cd ~/Project/aux-config
sudo nixos-rebuild switch --flake .
cd ~/Project/aux-config
sudo nix flake --update # This Updates the flake.lock
sudo nixos-rebuild switch --flake .
- Edit the config in ~/Project/aux-config
vim system/x86_64-linux/$HOST/default.nix
- Stage the Changes if you created or deleted Files
git add .
(They will be ignored if you miss this step!) - Build your System to apply the changes
sudo nixos-rebuild switch --flake .
- Commit your Changes if satisfied
git commit -m "Added Software hello-world"
- Then Push your Changes to the Remote, so that other systems can update
git push
Surface Pro 2017 Tablet
User: kb@HyperC
Cpu: Intel i5-7300U
Ram: 8GB
My Gaming Desktop
User: kb@LoyAdjo
Cpu: AMD Ryzen 5 5600X
Ram: 32GB
Gpu: NVIDIA GeForce GTX 1070
My KVM Server for Gameservers (wip)
Cpu: AMD EPYC 7702P 64-Core (4 Cores)
Ram: 16GB
My NAS Server, currently under construction only as VM.
Cpu: 3 Cores of Host
Ram: 3GB of Host
Build: nixos-rebuild build-vm --flake .#U3ncSovm