Skip to content

❄️ ❄️ if you're cold, they're cold too ❄️ ❄️

License

Notifications You must be signed in to change notification settings

TahlonBrahic/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tahlon's NixOS Configuration

This repository contains a modular NixOS configuration designed to support multiple machines with profile support distributed across those machines.

Directory Structure

  • flake.nix: The main entry point for the NixOS configurations.
  • lib: Custom library of Nix functions.
  • modules: Contains reusable modules for both nixos and home-manager.
  • outputs: Literally the flake outputs, although it aggregrates through a series of many function calls.
  • secrets: Secures storage for sensitive information (e.g., API keys, passwords).
  • vars: Defined variables to be passed around through modules (e.g. users).
  • .sops.yaml: SOPS-NIX configuration
  • LICENSE: A standard MIT License for ease of distribution and modification.
  • README.md: This file, which provides an overview of the repository.

Getting Started

  1. Clone the repository:
git clone https://github.com/TahlonBrahic/nix-config.git .
  1. Define your own configuration in outputs or choose a pre-defined configuration:

nix --extra-experimental-features 'nix-command flakes' run github:LGUG2Z/JeezyVim ./_disko.nix

If you choose to use an already established configuration it is important to define your hardware specifications as either or a module or vars.

  1. Rebuild your system:
sudo nixos-rebuild switch --flake .#hostname

Replace hostname with the appropriate hostname configured in ./outputs/architecture/src/hostname.nix

References

The following websites and/or content creators were the most influential in the help of the developement of this NixOS repository and my understanding of both NixOS and its language:

Websites:

nix.dev

Repositories

librephoenix Misterio77 ryan4yin EmergentMind

About

❄️ ❄️ if you're cold, they're cold too ❄️ ❄️

Resources

License

Stars

Watchers

Forks

Packages

No packages published