nixos-config/README.md
2024-04-22 04:16:10 +02:00

1.5 KiB

My NixOS config

File system structure

  • common: stores all Nix files which are shared by all system configs
    • de: Desktop environments and their parameters
    • hardware: self-explenatory
    • locales: localization options
    • packages: services & packages with common configurations
    • default.nix: The minimum configuration that a machine needs
    • full-install.nix: if this machine has a DE or is going to be used by a human
    • tasia-packages.nix: Collection of additional packages
  • hosts: Machine-specific configurations
  • modules/nixos: Custom NixOS modules
  • overlays: Custom NixOS overlays
  • pkgs: Custom NixOS packages

Memo

Update channels: nix flake update

Build a configuration: # nixos-rebuild switch --flake .#phoenix

Build enry and upload a generation: TODO

Hosts

theseus

My main PC. Mostly unused because of power constraints

phoenix

phoenix ssh-ed25519 AAAAC3Nza C1lZDI1NTE5AAAAIJTqExIIZuW9yvK7mgveNK8KDGKaRswrjj/nwVDwUdeL

My old laptop.

stuff

Another person's laptop.

enry

enry ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHCPPE7U87PZ4+BQrdJtPuD/ibf9ubyPAqcRJe6Lpc2D

This is my Raspberry Pi 3B+ inside my electrical cabinet.

new-new-phoenix

SHA256:hV3Kumt4I9Bt0/IAX3D9Y1kN93COAQFNSsAdiv9mpIg new-new-phoenix

SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw tasia@new-new-phoenix
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLyDLtqUhEQwIsPx0XgQ9OJb2+XxL+2ra4goNJEgwf0 tasia@new-new-phoenix

New laptop. Main driver. TODO: give it a name.