No description
Find a file
2024-09-06 17:31:57 +02:00
.github/workflows Modified Workflow Info 2024-08-12 02:02:46 +02:00
modules Innitial Commit 2024-06-07 13:49:42 +02:00
systems/x86_64-linux Changed Sops structure, added Sops Key 2024-09-06 17:31:57 +02:00
.gitignore Added Workflow test, Removed flake.lock, Updated Gitignore 2024-08-12 01:36:59 +02:00
.sops.yaml Changed Sops structure, added Sops Key 2024-09-06 17:31:57 +02:00
flake.nix Fixed Typo 2024-09-06 17:06:54 +02:00
LICENCE Added Licence 2024-06-07 14:05:30 +02:00
README.md Updated Instructions in readme 2024-08-12 02:42:53 +02:00

My NixOS Configurations

Forgejo Issues Forgejo Release standard-readme compliant

This repository contains my Flake based NixOS Configuration Files.

Usage

Setup

Clone this Repository somewhere you can edit it easily:

git clone https://git.kb-one.de/kb01/aux-config ~/Projects/aux-config

Warning

Only do this if you know what you are doing.

Now clone your local Git-Repo to /etc/nixos:

sudo rm -R /etc/nixos
sudo git clone ~/Projects/aux-config /etc/nixos

Install Nixos Variant

cd /etc/nixos
sudo nixos-rebuild switch --flake .#voloxo # Or use any other Host

Future Rebuilds don't need the Host Specifie, because it is now set. sudo nixos-rebuild switch --flake .

Updating the Flake Based NixOS Installation

cd /etc/nixos
sudo nix flake --update   # This Updates the flake.lock
sudo nixos-rebuild switch --flake .

Modify NixOS Installation

Now When you want to change your System, you ...

  1. Edit the config in ~/Project/aux-config vim system/x86_64-linux/$HOST/default.nix
  2. Commit the Changes locally git commit -m "Some Changes"
  3. Now you cd /etc/nixos
  4. Update the Changes sudo git pull
  5. Build your System to apply the changes sudo nixos-rebuild switch --flake .
  6. When you're satisfied with your changes, go to ~/Projects/aux-config and push your changes to the remote

Hosts

HyperC

Surface Pro 2017 Tablet

Cpu: Intel i5-7300U

Ram: 8GB

yerukall

Lenovo Thinkpad E14 Gen 4

Cpu: AMD Ryzen 5 5625U

Ram: 16GB

voloxo

My Gaming Desktop

Cpu: AMD Ryzen 5 5600X

Ram: 32GB

Gpu: NVIDIA GeForce GTX 1070

License

MIT © kB01