Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jkachmar/tartarus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tartarus

image of Tartarus from Hades 2

How exactly the Titan escaped an inescapable prison, he alone can say. But the groaning wheels and machinery throughout the place have grown more prevalent since his return, suggesting long-dormant plans that came finally to fruition.

tl;dr

A mix of system- & user-level configurations for the machines that I administer; shared here for convenience and in case anyone else finds them useful.

structure

  • hosts/: host configurations
    • chronos/: NixOS home server & NAS
    • moros/: personal laptop (M2 MacBook Pro)
    • prometheus/: work-issued laptop (M4 MacBook Pro)
  • modules/: config & options modules laid out according to RFC 0140
    • each terminal directory contains one or more of the following files, which are automatically collected in flake outputs:
      • module.nix: modules that are compatible with both NixOS & nix-darwin
      • darwin-module.nix: nix-darwin system modules
      • nixos-module.nix: NixOS system modules
      • home-module.nix: home-manager modules
      • flake-module.nix: flake-parts modules
  • overlays/: overlays that are exposed in this flake & applied to some of the package sets I use
  • users/: user configurations, typically exposing flake-parts modules containing variations on the following:
    • darwinModules.jkachmar: nix-darwin configuration for my personal user profile
    • nixosModules.jkachmar: NixOS system configuration for my personal user profile
    • homeModules.jkachmar: home-manager configuration for my personal user profile

notes

disko

chronos's root partition can be formatted using its diskoConfigurations entry; when run from this flake's directory, the following will wipe the NVMe drive & install NixOS on the host:

$ nix develop
$ disko --flake .#hrodreptus --mode zap_create_mount
$ nixos-install --flake .#chronos --no-root-password

--no-root-password is necessary if (as the flag implies) users.users.root doesn't have a password set. At the time of writing, root access is handled by ssh-agent & rssh PAM, but this is kinda dicey from a recovery PoV.

About

the ever-shifting depths of the Underworld are not as once they were...

Topics

Resources

Stars

Watchers

Forks