• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: November 18th, 2023

help-circle
  • DrGamerPhDtoNix / NixOSConfig Structure Conventions?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    i took the structure from vimjoyer’s video on this. i think it’s a great starting point, after which you can start experimenting with moving stuff around and borrowing from other configs as you learn how things work

    how you separate modules is really up to you; i wouldn’t overthink it too much. in my config, my modules are split into home-manager modules and system modules, like this:

    • dotfiles/modules/home-manager
    • dotfiles/modules/nixos

    then in those, i separate based either on subject (like shell stuff, music software, games) or if the config for one program is getting really big (like my alacritty or firefox configs). my layout evolved over a few months, so don’t feel as though you need to get it spot-on from the start