Commit graph

6 commits

Author SHA1 Message Date
chayleaf b6a1abc9b7 change update script for ci branch 2023-10-18 21:25:48 +07:00
chayleaf 69ce2ffdbc store secrets separate from this flake
This uses a native plugin (pkgs.nix-plugins) to avoid using --impure,
other options involving secret files are too limited for my use case as
I need eval-time access to secrets. Moving it to a private flake is
another option, but Nix flakes are poorly suited for non-monorepos.
Previously I just renamed .git to .git.bak to make sure Nix pulls the
"private" subdir into store as well, but this new system may be more
robust and can be extended to way be more secure in the future (e.g.
right now I copy the secret .nix files to store, but in general there's
no need to do that).

Of course the main drawback is that now I require a plugin for this
flake to work.
2023-05-26 00:46:38 +07:00
chayleaf 6a329dab38 refactor pkgs, allow NixOS HM module to be used 2023-05-25 06:26:52 +07:00
chayleaf 4f531a83a9 merge into a single flake
However, Nix has some annoying store semantics when integrating with
.git repos, so I move .git to .git.bak whenever I'm not working with
git.
2023-05-25 04:39:57 +07:00
chayleaf e1592b5cff XDG_CONFIG_HOME/nixpkgs->XDG_CONFIG_HOME/home-manager 2023-04-10 19:15:34 +07:00
chayleaf a2ab9b3db1 add readme, calendar, etc 2023-02-21 05:20:19 +07:00