• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Nix
  • License
    BSD 2-Clause "Sim...
  • Created over 2 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My Personal Nix/NixOS Configuration.

NIX Config

My current (and everchanging) NixOS configuration Flake.

NixOS Configuration Image

Installation

Installation steps are in Documentation/INSTALLING.md

Highlights

  • Multiple NixOS configurations, including desktop, laptop, and VM
  • Install and partitioning scripts
  • Impermanence
  • Encrypted BTRFS partitions
  • Secrets using git-crypt
  • Network-deployable through deploy-rs
  • Modularized configuration
  • Wayland (sway) and XOrg (XMonad) desktops

Structure

Here is an overview of the repos' structure:

.
β”œβ”€β”€ flake.nix
β”œβ”€β”€ flake.lock
β”œβ”€β”€ modules
β”œβ”€β”€ overlays
β”œβ”€β”€ packages
β”œβ”€β”€ secrets
β”œβ”€β”€ dotfiles
β”œβ”€β”€ hosts
β”‚  β”œβ”€β”€ default.nix
β”‚  β”œβ”€β”€ configuration.nix
β”‚  β”œβ”€β”€ home.nix
β”‚  β”œβ”€β”€ luna
β”‚  └── phobos
β”‚     β”œβ”€β”€ default.nix
β”‚     └── home.nix
└── hardware
   β”œβ”€β”€ laptop
   β”œβ”€β”€ chromebook
   β”œβ”€β”€ virtualbox
   └── thinkpad
      β”œβ”€β”€ default.nix
      β”œβ”€β”€ disks.nix
      └── hardware.nix
  • modules: encapsulated NixOS modules used in parts of the config
  • overlays: nixpkgs overlays used in the config
  • packages: extra packages used in the config
  • secrets: git-crypt encrypted secrets used in the config
  • dotfiles: actual dotfiles used in the config
  • hosts: the host-specific config. Contains folders representing each host with their own specific config
  • hardware: the hardware-specific config (eg. Disks & Partitions). Contains folders representing each hardware

This configuration was made to be modular and customizable; don't hesistate to adopt it and make it YOURS!