• chi-chan~@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    21 days ago

    Literally easier than Windows.

    People are falling for this and downloading software from unofficial websites.

    Linux is super easy.

    • Debian-based: # apt install firefox
    • Red-Hat-based: # dnf in firefox
    • Arch: # pacman -S firefox
  • leftzero@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    21 days 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.