No description
Find a file
2025-05-22 14:06:31 +08:00
homes/x86_64-linux/rafiq feat(zsh): add screensaver 2025-05-21 19:55:25 +08:00
lib refactor(modules/system): move system config to a module 2025-05-18 15:25:58 +08:00
modules fix(hardtime-nvim): make arrowkeys work in insert mode 2025-05-22 14:06:31 +08:00
packages feat(packages/rebuild): use nh in rebuild script 2025-05-20 19:15:57 +08:00
secrets feat(nixosModules/system): add cvt jira env vars 2025-05-21 16:46:33 +08:00
systems/x86_64-linux/nemesis refactor(homeModules/desktop): rm option declarations 2025-05-21 09:52:57 +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 feat(homeModules): add stableDiffusionWebUi 2025-05-20 19:48:19 +08:00
flake.nix feat(homeModules): add stableDiffusionWebUi 2025-05-20 19:48:19 +08:00
README.md docs(README.md): add section on impermanence 2025-05-21 11:27:42 +08:00

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 secrets/secrets.yaml. The secrets inside the yaml file should also be set, or otherwise removed alongside their declarations (in modules/nixos/system/secrets.nix) and references.

Impermanence

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