Files
azos/README.org
T
2024-08-28 15:04:53 +03:00

65 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
Then you can tpye:
#+begin_src nix
inputs.nixpkgs.lib
#+end_src
And stuff