Beautiful. (thelemmy.club)
submitted 1 day ago* (last edited 1 day ago) by to c/linuxmemes@lemmy.world
 

you are viewing a single comment's thread
view the rest of the comments
[–] 19 points 1 day ago (3 children)

Add programs.firefox.enable = true; to configuration.nix.

Call sudo nixos-rebuild switch. Maybe add --flake if you're feeling adventurous.

Done.

Or, more realistically...

programs = {
    firefox = {
        enable = true;
        # Configure anything you want here (language,
        # extensions, policies... whatever).
    };
    # Enable and configure other programs here.
};

... and keep the whole thing in a git repository to track changes and have it available for other machines.

  • source
  • hideshow 6 child comments
  • [–] 3 points 17 hours ago (1 child)

    dude, don't try to sell me on an easy to configure distro, I'm just finishing up on the configs for my debian home server/sometimes workstation. Definitely don't do it, don't send me down the rabbit hole of reproducebility

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 14 hours ago

    As a programmer, the moment I learned about nixos (here on lemmy, if I recall correctly) I knew that'd be the one I'd pick once I found the time to move to linux. It just seemed like a reasonable way of doing things, you know?

    Bit of a learning curve, but worth it, I believe.

  • source
  • parent