No description
Find a file
2025-06-14 15:16:04 +08:00
homes/x86_64-linux/rafiq feat(desktop): add vlc configuration to homes and use home-manager modules 2025-06-14 14:22:30 +08:00
lib feat(lib): add domain manipulation functions 2025-06-13 03:31:08 +08:00
modules refactor(desktop): use optional instead of mkIf in firefox and media-player modules 2025-06-14 15:16:04 +08:00
packages feat(rebuild): add informational messages and error handling to rebuild script 2025-06-14 13:33:14 +08:00
secrets feat(librechat): provision apollo 2025-06-07 14:31:40 +08:00
systems/x86_64-linux feat(desktop): move media-player config to nixos modules 2025-06-14 14:10:33 +08:00
.gitignore feat(packages/rebuild): improve rebuild script 2025-05-20 18:31:18 +08:00
.sops.yaml feat(modules/secrets): init sops-nix 2025-05-18 22:57:16 +08:00
flake.lock build(flake.lock): bump flake inputs 2025-06-12 14:12:47 +08:00
flake.nix style(tree-wide): apply linting 2025-06-04 07:49:31 +08:00
README.md feat(packages/deploy): add deployment script 2025-06-12 17:37:07 +08:00

Planning

To-do

  • Copy over ~/.ssh/id_ed25519 and zellij status bar plugin confirmation
  • Migrate immich to apollo, point to helios
  • Migrate LibreChat to apollo, maintain db
  • Figure out wakapi
  • Add forgejo
  • Add simple blog

Versions

  • 1.0.0
    • Replicate old zagreus wholly
    • Automated backups for home and state directories
    • Ability to build VMs of all systems and implement integration tests
      • Staging VMs for ad-hoc testing
    • All servers set up with following services:
      • Git server
      • Chat app
      • Network shares
      • Federation with ActivityPub
      • Wakapi
    • Add a way to define services per host and refer to them by hostname
    • helios as file and db server, apollo as services and reverse proxy
  • 0.3.0
    • Integration tests for all services
    • Set directory permissions properly for impermanence
    • Easier way to add proxyPass, web server independent
    • Migrate services from helios

Modules

The nixosModules and homeModules exposed by this flake are slightly out of the norm.

Option declarations for user specific configuration are kept to:

  • homeModules for CLI
  • nixosModules for desktop

System configurations, to this end, should include the window manager, lockscreen, terminal etc. for that system.

These desktop programs will be configured in home-manager for each user, but those configurations consult the osConfig variable passed in by home-manager.

System Setup

The following files are required for system activation:

  • /persist/home/${mainUser}/.ssh/id_ed25519

This private key will be used by sops-nix to decrypt the secrets in this encrypted file. The secrets inside the yaml file should also be set, or otherwise removed alongside their declarations , found here and references.

# On the target machine
# Boot into the NixOS installer

sudo passwd

# On the host machine
deploy --user "rafiq" --ip "10.10.0.102" --hostname "apollo"

Impermanence

System and user state is stored under /persist. Anything not declared under {environment,home}.persistence is deleted on system boot.