You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we run bin/apply to ask the user for some info, and run a sed replace function to replace various static tokens throughout the code.
These look like %USER%, %HOST_NAME%, etc. in the templates. We should clean these up so that it's defined once in flake.nix, and that input is provided as part of building the system.
The text was updated successfully, but these errors were encountered:
dustinlyons
changed the title
Define user context in flake.nix and refactor %USER%, %HOST_NAME%, etc. tokens
Define user context in flake.nix and refactor install scripts
Nov 12, 2023
@ar4s-gh You're probably typing 'yes' or 'no'. It should be 'Y', 'y', 'N', or 'n'. I think this is a bug in the apply script I need to fix.
Edit: I just fixed this on main. If you try to initialize the template again, you'll likely grab the cache of the old one, so first delete ~/.cache/nix before initializing again.
Or just type 'y' or 'n' instead of 'yes' and 'no', that's an easy workaround.
Currently, we run
bin/apply
to ask the user for some info, and run ased
replace function to replace various static tokens throughout the code.These look like
%USER%
,%HOST_NAME%
, etc. in the templates. We should clean these up so that it's defined once inflake.nix
, and that input is provided as part of building the system.The text was updated successfully, but these errors were encountered: