Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.53 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.53 KB

Atemu's NixOS configs

Structure

  • configs contain the configs of my various hosts:
    • HEPHAISTOS is a desktop gaming computer and workstation
    • SOTERIA is my home server, hosting various services and holding my hot data
    • THESEUS is my portable laptop computer (a https://frame.work laptop, get it?)
    • PLATON is a portable pen tablet convertible laptop
  • hardware contain configuration specific to certain hardware systems of mine. The individual configs include them, depending on which machines they're used on.
  • modules contain NixOS modules for configuring certain aspects of my system. These usually only have effects when their enable option is set but some are always active such as my packages module.
  • common.nix contains config common across all of my hosts regardless of its purpose

Usage

nix-build -A HOSTNAME.system

or

nixos-rebuild build -I nixos-config=configs/HOSTNAME/default.nix

Additionally, a symlink can be created from ./current-config.nix to a host's default.nix allowing you to pass just this directory to nixos-rebuild.

Secrets

Some modules utilise "secret" values such as my personal domain name containing my clear name or my ACME email which I do not wish to publish here. These must be given in a ./secrets.nix that is explicitly not checked into git.

Flakes?

No.

License

This code is licensed under the MIT license unless specified otherwise. Feel free to re-use or bring it into upstream projects.