98 lines
1.7 KiB
Org Mode
98 lines
1.7 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
|
|
|
|
Or do this
|
|
|
|
#+begin_src bash
|
|
nix build '.?submodules=1#nixosConfigurations.vm.config.system.build.vm'
|
|
#+end_src
|
|
|
|
** 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
|
|
|
|
If life is giving you trouble with submodules
|
|
#+begin_src bash
|
|
nix flake lock --update-input azos-core
|
|
#+end_src
|
|
|
|
** Shell
|
|
|
|
#+begin_src bash
|
|
nix develop .#shells.x86_64-linux.debugTexShell
|
|
#+end_src
|
|
|
|
* Tasks
|
|
|
|
** Station ORG
|
|
*** Move mail config
|
|
|
|
It seems there is some built in functionality here.
|
|
|
|
*** Add mail service
|
|
|
|
Will probably finish when system running
|
|
|
|
*** Git config
|
|
|
|
*** SSH config
|
|
|
|
*** PUBLIC KEYS AND SUCH
|