nixos-config icon indicating copy to clipboard operation
nixos-config copied to clipboard

Define user context in `flake.nix` and refactor install scripts

Open dustinlyons opened this issue 7 months ago • 0 comments

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.

dustinlyons avatar Nov 11 '23 19:11 dustinlyons