this post was submitted on 19 Jul 2023
68 points (100.0% liked)
Solarpunk
5492 readers
2 users here now
The space to discuss Solarpunk itself and Solarpunk related stuff that doesn't fit elsewhere.
Join our chat: Movim or XMPP client.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Because, among other features, the ENTIRE OS can be configured with one flake.
Here’s my config: https://github.com/harryprayiv/nix-config
That's cool! Might have to give it a spin in a VM.
I built a config for a VM inside of that repo I showed you.
I have it configured where you create a new machine profile and put it in the system folder (my VM machine profile would get you close) then you configure the home manager aspect. I have two options in that config. One is my normal one and the other is called “slim” which would be better for your case. I even built a TUI that switches to whatever config I want. you’d call: ``./switchTUI from terminal.
The xmonad thing is a choice of mine but I have commented out parts in the machine config files that could to choose to gnome or plasma if I wanted to.
I had to sort of fragment the files for my config because I wanted to create a config that would cover every single kind of system in my network.
I wish Hyprland were configured with Haskell. It’s so pretty.
I like your setup! Maybe I'll try it. I did consider it due to the single config file but was thinking that it may be missing stuff. But looking at your setup it will probably work for me too. Thanks!
Mine is forked from a guy named gvolpe. So, if you run into problems, comparing his and mine might illuminate some things.
I’m in the process of updating the stripped-down VM config that lives in that repo but it’s a really good start if you run it as a VM. You’d just need new hardware-configuration.nix files for the actual ID’s of the drives that the VM creates. I’m sure someone smarter than me has a proper one..but they’re not using xmonad and polybar! ;)