• leftzero@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    18
    ·
    23 hours ago

    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.

    • ttayh@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      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

      • leftzero@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        6 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.

    • Pastel@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      19 hours ago

      And you can even add programs.firefox.package = pkgs.librewolf; if you prefer it!