Here’s mine. Probably top 10 /s: https://github.com/rutrum/dots
Thanks that’s very informative
Especially for different purposes and on different hardware
Here are some configs to get inspired by: https://nixos.wiki/wiki/Configuration_Collection
Thanks, that’s exactly what I’m looking for.
I have been using nix on various systems and especially nixos for quite a while and a github access token has been about the most exciting thing in nix.conf (and enabling flakes obviously😅)
Do you mean configuration.nix?
Probably yes !
I meant the file that decides how everything works
I figured if you sent me that file from your system, I’d get your system exactly how you designed it.
I think it would be great to just load random ones of these from other people to see how they like their system.
And then I could pick and choose those aspects that I like while also trying many, radically different ways of doing things as fast as my system can reboot !
I figured if you sent me that file from your system, I’d get your system exactly how you designed it.
Usually people split up their configs into multiple files for readability/maintainability. But yes, if they sent you their entire configuration repository you would (or at least should) get the same result.
Cool idea.
Would maybe be more the
home.nix
since that is more the desktop orientated stuff. Unless you also want how my soundcard and drives are setup…Ah I thought it was all one file, and maybe that would just be like, commenting out the system section or something.
But I do mean, which apps are installed, what desktop environment, really the user interface, the end user experience that’s what I was wondering.
So is there such a repository or not ? Is every nixos user making the configuration file from scratch in vim ?
I figured there should be a repository where most user just pick a ready made file and that’s the end of that. Not really having to learn the syntax of that file and writing it down ?
So is there such a repository or not ? Is every nixos user making the configuration file from scratch in vim ?
That’s how you should do it IMHO. You will miss out on a lot of benefits of NixOS if you don’t understand how the config system works, at least to the point of writing your own config files.
I figured there should be a repository where most user just pick a ready made file and that’s the end of that. Not really having to learn the syntax of that file and writing it down ?
There are lots of examples online that can get you inspired, but ultimately you are building your own system and it’s up to you to write the config. Feel free to copy code from other people, as long as you follow the licenses in the projects (a lot are CC0/public domain, so you can just steal stuff freely with no remorse, but it’s also nice to mention the original author)
Thanks, although what I’m looking for is a file that will make a kde plasma desktop with chromium and libreoffice installed Something I can plop on a usb stick and hand to grandma so she can linux up her obsoleted win10 pc without me having to explain what a nixos is.
I understand she probably will not understand the nuance of a immutable filesystem based os but that’s fine. I simply do not have the energy to tailor a file for each individual grandma that I have.
There are many flake repos which will have the blobs of stuff that you want, LLMs can help, even the nix wiki is good for stuff like gnome or KDE.
Basically the different automated install paths have a few different DE’s and language etc setup, but the rest you find yourself (programs, utils etc)
Home.nix is “home manager” configuration which is like it sounds, the configuration of home which is less drives and sound card and more programs and config.