Git Product home page Git Product logo

nixos-config's Introduction

My NixOS Configuration

As used for my personal laptop.

Noteworthy Aspects

  • ZFS for all file-systems including the / and the /boot, giving volume management and snapshot backups.

  • Mirror ZFS pools on dual (or more) SSDs, giving redundancy, fault tolerance, and high-performance striped reading.

  • Mirror EFI system partitions, allowing booting from either in case one fails.

  • Multiple swap partitions, one per drive, not mirrored, for high-performance striped writing and reading.

  • Script for reproducing the custom drive partitioning, ZFS layout, and NixOS installation.

  • Very minimal system state, allowing entire installation to be more easily reproduced.

  • Organized so that per-machine configuration is separated from general configuration.

  • Multiple users for different activities, for better security and for tailored environments.

  • Companion repository that provides my "dot files" for users' home directories.

  • Some non-trivial custom NixOS modules.

  • Extra support for installing source-code and debug-info, according to your choice, for debugging of binaries (executables & libraries) installed by Nix packages which don't normally provide this (for both pre-built w/o rebuilding or locally-built), and also for arbitrary binaries via dedicated temporary directories. Default installation of the source-code of the system's Glibc and Rust std libraries (w/o rebuilding any packages), to help when debugging any of the many binaries using those. Options for NixOS to configure all this.

NixOS Version

These repositories were created using NixOS 21.05 and were minorly adjusted for 21.11, 22.05, 22.11, 23.05, and then 23.11 which they now target.

Installation

See Installation.

Recovering From Drive Failure

See Recovering From Drive Failure.

References

nixos-config's People

Contributors

derickeddington avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

joaqim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.