My unified nix flake for all configuration management.
Find a file
Daniel Flanagan 5a123f274c
All checks were successful
/ check (push) Successful in 5m13s
Foxtrot boots
2024-12-28 13:57:03 -06:00
.forgejo/workflows Build 2024-08-30 11:36:08 -05:00
disko Foxtrot boots 2024-12-28 13:57:03 -06:00
images Add a logo for funsies 2024-10-25 10:41:45 -05:00
lib Moving thinker back to nixos 2024-07-17 20:22:16 -05:00
modules Fix desktop bar 2024-12-25 12:23:06 -06:00
nixos Foxtrot boots 2024-12-28 13:57:03 -06:00
overlays Comment 2024-09-12 12:05:22 -05:00
packages Comment 2024-09-12 12:05:22 -05:00
secrets Update dragon keys 2024-12-27 11:42:51 -06:00
templates Rust template 2024-12-23 20:52:28 -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 Update dragon keys 2024-12-27 11:42:51 -06:00
flake.lock Ghostty 2024-12-27 15:00:15 -06:00
flake.nix Foxtrot won't boot 2024-12-28 13:41:53 -06:00
readme.md Formatting 2024-10-25 10:43:35 -05:00
safe-remote-upgrade.bash WIP kanidm 2024-08-06 10:33:09 -05:00


Nix for lytedev

flake check status build status

My grand, declarative, and unified application, service, environment, and machine configuration, secret, and package management in a single flake. ❤️ ❄️

NOTE: Everything in here is highly specific to my personal preference. I can't recommend you actually use this in any way, but hopefully some stuff in here is useful inspiration.

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

Long Term