Post AW9XRNDmfTFEDd1G40 by dekkzz76@emacs.ch
 (DIR) More posts by dekkzz76@emacs.ch
 (DIR) Post #AW9XGSE3imCeYQwQ08 by adham@emacs.ch
       2023-05-29T16:35:07Z
       
       0 likes, 0 repeats
       
       Hear me out, an #orgmode literate configuration for #NixOS.
       
 (DIR) Post #AW9XRNDmfTFEDd1G40 by dekkzz76@emacs.ch
       2023-05-29T16:36:04Z
       
       0 likes, 0 repeats
       
       @adham is there such a thing as ob-nix?
       
 (DIR) Post #AW9XRX4E3rXaksclYO by adham@emacs.ch
       2023-05-29T16:37:04Z
       
       0 likes, 0 repeats
       
       @dekkzz76 I use the nix-mode and it looks like it provides it? I am not sure but it works.
       
 (DIR) Post #AW9YJAGF4PoFf0ooPQ by adham@emacs.ch
       2023-05-29T16:46:49Z
       
       0 likes, 0 repeats
       
       Doesn't look half bad
       
 (DIR) Post #AW9ZiwdSS5vAsvXC8O by ross@social.rossabaker.com
       2023-05-29T17:02:40Z
       
       0 likes, 0 repeats
       
       @adham I've been doing this with flakes.  For a while I was doing import-from-derivation from a minimal starting point, and now I check in my tangled files.  Still... yes, org and nix are a good fit!
       
 (DIR) Post #AW9beGJ25dLSLusLOi by publicvoit@graz.social
       2023-05-29T17:24:13Z
       
       0 likes, 0 repeats
       
       @adham I try to start first steps with NixOS on a machine I don't need on a daily basis. It's a hell of a transition phase including re-writing many shell-scripts that contain hard paths to tools and so forth. If this turns out to be a viable option, I may be all-in for literate NixOS config with orgmode.
       
 (DIR) Post #AW9eoS1DhGjTRA5sQ4 by adham@emacs.ch
       2023-05-29T17:59:42Z
       
       0 likes, 0 repeats
       
       @publicvoit It was one hell of a transition, I don't have many shell-scripts so I don't know about this. I'll do a write-up about this after I finish college next week, until then it's all WIP, I'll let you know when I post anything about it!The relief of knowing that I don't need to install every single program on every new machine or the ability to switch DEs and WMs so easily are amazing with NixOS.
       
 (DIR) Post #AW9h4h3JljpMbawpMG by publicvoit@graz.social
       2023-05-29T18:25:02Z
       
       0 likes, 0 repeats
       
       @adham As I once wrote: I do seem to be there but I don't enjoy going there. #NixOS
       
 (DIR) Post #AWAQwFwNHaF65scBkW by chriscochrun@mastodon.online
       2023-05-30T02:58:55Z
       
       0 likes, 0 repeats
       
       @adham I did this for a while. Decided to change because I'm not good at the literate part of literate programming I think. But it worked well.
       
 (DIR) Post #AWG0u5LfmrwJgwQJQO by landel@mastodon.social
       2023-06-01T19:35:28Z
       
       0 likes, 0 repeats
       
       @adham@publicvoit A little late but still:You can use speciallisations for different DE/WMs so they dont get in each others way.  So you can just chose which DE/WM you want to use while booting and dont have to rebuild every time.
       
 (DIR) Post #AWG103vbysXD1Y5EoK by adham@emacs.ch
       2023-06-01T19:36:34Z
       
       0 likes, 0 repeats
       
       @landel @publicvoit I don't know about this, any guides/examples that you can provide? sounds interesting!
       
 (DIR) Post #AWGM7jdRPbcRRM5HsG by thees@emacs.ch
       2023-06-01T23:33:15Z
       
       0 likes, 0 repeats
       
       @adham there's a org-babel-post-tangle-hook, so you could actually try to have something along the lines of nixos-rebuild on tangle for files that match configuration.nix as a pattern or something like that^^