Today is my second attempt to migrate to NixOS, and I feel it will be successful. My first attempt was 9 months ago. Any tips?
#asknostr #nix #nixos
Today is my second attempt to migrate to NixOS, and I feel it will be successful. My first attempt was 9 months ago. Any tips?
#asknostr #nix #nixos
I can help if you need it! I really like NixOS.
Thanks, I'll ask you if I get stuck on something 🫂
I tried packaging nostr:nprofile1qqsyz7tjgwuarktk88qvlnkzue3ja52c3e64s7pcdwj52egphdfll0cpzpmhxue69uhkummnw3ezumt0d5hszrnhwden5te0dehhxtnvdakz7qgawaehxw309ahx7um5wghxy6t5vdhkjmn9wgh8xmmrd9skctcl6luuf but my naive attempt didn't work. I'm probably missing something in understanding poetry2nix.
I'll zap if you can nixify that project. 😎
I will work on it this weekend. I see what I can do.
Use git properly & completely when modifying your configs.
I'll start with flakes and home-manager, version control them (git) then expand them later. I'll search for a good starter template.
If you understand how to modify your nix os config. Then make sure you have automatic gargage collection and channel updates. Otherwise you are going to have a lot of space eaten up needlessly over time and sometimes out of date software.
Also, if you want to dive a little deeper. Switch to Determinant Nix after the installation. Created by the creator of Nix, backed by a solid company, and has a more professional level experience.
https://determinate.systems/posts/determinate-nix-installer/
Thanks. It's easy to enable them.
```nix
# Automatic Garbage Collection
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
```
And
```nix
# Auto system update
system.autoUpgrade = {
enable = true;
};
```
why did you fail then?
I was busy working on a software project, and in the middle of working on it, I decided to move to Nixos. We all know that moving to Nixos is not easy, so I stopped working on the project and had to start working on it again, so I went back to my old distribution. Now I am free, I have no projects to work on.
I have found the nix discourse site helpful.
It does seem difficult to learn how to use it well. It could use some more books/people making better in depth educational tools. Might help learn just by having a more playful/open discussion about what you're doing, how you're using it, and how you want to use it.
Ideally it's not a distro that's exclusively used by people who are experienced, but that's how it's marketed currently.
Thanks for the tips, yes I checked discourse.nixos.org it's helpful