58 lines
1.2 KiB
Org Mode
58 lines
1.2 KiB
Org Mode
* Installation
|
|
|
|
It's from here:
|
|
|
|
https://github.com/Misterio77/nix-starter-configs/tree/main/standard
|
|
|
|
It was probably initialized with this command:
|
|
|
|
#+begin_src bash
|
|
nix flake init -t github:misterio77/nix-starter-config#standard
|
|
#+end_src
|
|
|
|
Fuck vagrant
|
|
|
|
#+begin_src shell
|
|
nix build .#nixosConfigurations.vm.config.system.build.vm
|
|
#+end_src
|
|
|
|
From https://github.com/nix-community/vagrant-nixos-plugin
|
|
|
|
** Installing home manager
|
|
|
|
#+begin_src bash
|
|
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
|
nix-channel --update
|
|
#+end_src
|
|
|
|
Then we add
|
|
|
|
#+begin_src bash
|
|
$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
#+end_src
|
|
|
|
as source to BASH. before we install
|
|
|
|
* Notes for planning
|
|
|
|
- EMACS config should be kept in a way that it is usable w/o nix
|
|
- NIX will copy each ORG file to the 'extras' folder
|
|
- Entanglement should happen in tmpfolder place (IDEALLY tmp buff)
|
|
- Can I do this by tangling a big org thing for the features? Yes? No? Probably not!
|
|
|
|
* usage tips
|
|
|
|
If you want nix rpel
|
|
|
|
#+begin_src bash
|
|
nix repl
|
|
#+end_src
|
|
|
|
Then in this directory:
|
|
|
|
#+begin_src nix
|
|
:lf .
|
|
#+end_src
|
|
|
|
You'll get acces to 'lib' and such. (It evals here)
|