Skip to content

dasj19/nix-config

Repository files navigation

nix-config

Own nixos configurations

Purpose

This repository servers my own needs and should not be used verbatim. You can look and get inspired about how I use nixOS. This was made public for the sole purpose of sharing configurations and inspire others.

Contents

The configuration now uses flakes and each folder under machines contains configuration for one server/machine. Secrets are encoded with the help of sopsnix. Certain not-so-sensitive information is hidden using git-crypt. I hide public IPs, domain names, and other information I deem sensitive.

Structure

The configuration uses flakes and is modular in order to reuse configuration across machines and have the code as DRY as possible. The "machines" folder contains host configurations with one folder per machine machine. Usually only configuration.nix and hardware-configuration.nix is present here. The "modules" folder contains reusable pieces of code, modules meant to be used across machines. The "secrets" folder contains secrets that can be used globally across individual machine configurations. The "profiles" folder contains a bare-bones profile where to start off when adding a new host to machines. The "home" folder contains home-manager configurations.

Machines

Hostname Brand and model CPU RAM GPU(s) Role OS State
cm4-nas RaspberryPi CM4 Cortex-A72 8 GB Not Available ☁️ ❄️
contabo2 Contabo KVM VPS AMD EPYC 7282 6 GB Not Available ☁️ ❄️
t500libre Lenovo T500 Intel Core 2 T9600 8 GB Disabled ☁️ ❄️
tuxedo-xa15 Tuxedo Book XA15 AMD Ryzen 3000 64 GB NVIDIA GeForce RTX 2070 💻️ ❄️
xps13-9380 Dell XPS13 9380 Intel i7-8565U 8 GB Intel UHD Graphics 620 💻️ ❄️

Key

  • 🖥️ : Desktop
  • 💻️ : Laptop
  • 🎮️ : Games Machine
  • 🐄 : Virtual Machine
  • ☁️ : Server
  • 🧟 : Not in service

About

Own nixos configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages