My unified nix flake for all configuration management.
Find a file
Daniel Flanagan c87dd65a82
All checks were successful
/ build-host (map[host:beefcake]) (push) Successful in 2m49s
/ build-host (map[host:dragon]) (push) Successful in 46s
/ build-host (map[host:flipflop]) (push) Successful in 35s
/ build-host (map[host:foxtrot]) (push) Successful in 44s
/ build-host (map[host:router]) (push) Successful in 2m40s
/ build-devshell (push) Successful in 27s
/ flake-check (push) Successful in 6m7s
fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty
2025-03-20 12:29:12 -05:00
.forgejo/workflows fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty 2025-03-20 12:29:12 -05:00
.helix Format 2025-02-14 13:31:18 -06:00
lib fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty 2025-03-20 12:29:12 -05:00
packages fix: resolve conflicts and set version for CI workflow, add close_surface keybind to ghostty 2025-03-20 12:29:12 -05:00
secrets Uwu 2025-02-11 01:27:43 -06:00
.envrc Fprintd fixes? 2024-03-24 14:34:44 -05:00
.gitignore Implement pre-commit using the pre-commit-hooks flake 2024-02-23 10:35:41 -06:00
.sops.yaml Roll dragon secrets again for second re-install 2025-01-06 11:04:37 -06:00
flake.lock chore: update flake 2025-03-11 20:43:37 -05:00
flake.nix feat: out-of-store symlink options, start readme tweaks, bring back pa alias 2025-03-18 14:43:36 -05:00
readme.md feat: use matrix for simpler and parallel host builds 2025-03-19 12:04:36 -05:00


Nix for lytedev

pre-merge status

My Nix monorepo and main Flake.

  • Desktop configurations
  • Laptop configurations
  • Home server configurations
  • Remote server configurations
  • Home router configurations
  • Packages
  • Fonts

Quick Start

$ nixos-rebuild switch --flake git+https://git.lyte.dev/lytedev/nix#${FLAKE_ATTR}

You don't have even have to clone this crap yourself. How cool is that! But if you do, it looks like this:

$ nixos-rebuild switch --flake ./repo/dir/for/nix#${FLAKE_ATTR}

Secrets

If you're deploying anything secrets-related, you will need the proper keys:

$ mkdir -p ${XDG_CONFIG_HOME:-~/.config}/sops/age
$ pass age-key >> ${XDG_CONFIG_HOME:-~/.config}/sops/age/keys.txt

NixOS

$ nixos-rebuild switch --flake .

Not NixOS

NOTE: I pretty much solely use Home Manager as a NixOS module presently, so this is not fully supported.

$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
$ nix run github:nix-community/home-manager switch --flake git+https://git.lyte.dev/lytedev/nix#${FLAKE_ATTR}

Internal/Advanced Usage

See lib/internal.md.

To Do

Short Term

  • gnome missing icons
  • ghostty only notify if window or pane or w/e is not focused
  • more-easily manage gitea repo mirroring to github?
  • a.lyte.dev for web analytics is down
  • grafana and stuff for monitoring
  • alerts?
  • Broot config?

Long Term