Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install everything with a nix flake #7

Closed
vielmetti opened this issue Mar 2, 2023 · 5 comments
Closed

install everything with a nix flake #7

vielmetti opened this issue Mar 2, 2023 · 5 comments

Comments

@vielmetti
Copy link
Owner

nixify the bootstrapping process here too, so that
the first thing you install is a nix flake (here would
be "flake.nix") that in turn hauls in everything else.

https://www.bekk.christmas/post/2021/16/dotfiles-with-nix-and-home-manager
has what looks like a sane approach to everything.

and once it's a flake it can be installed at system
build time so that it's ready at first login.

@vielmetti
Copy link
Owner Author

trying to refactor this with 5001633 - that at least
tries to handle the home manager side of the problem.

@vielmetti
Copy link
Owner Author

well, the first round of instructions were out of date, but
https://www.chrisportela.com/posts/home-manager-flake/
continues the theme with some updates. Don't quite have
it running yet but I'm closer.

@vielmetti
Copy link
Owner Author

A working flake in 75cd957 based on the work of Chris Portola above.

@vielmetti
Copy link
Owner Author

nix run . switch -- --flake . to do the install; then exec $(which zsh) and then source dot-p10k-zsh.

works, so save it.

@vielmetti
Copy link
Owner Author

you have to do the exec and source dance to get zsh running whenever you log in; #3 is that issue.

otherwise this is done enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant