Lemmy.eus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝕾𝖕𝖎𝖈𝖞 𝕿𝖚𝖓𝖆@lemmy.world to Memes@lemmy.mlEnglish · 3 年前

The correct way to install Firefox

lemmy.world

message-square
166
fedilink
636

The correct way to install Firefox

lemmy.world

𝕾𝖕𝖎𝖈𝖞 𝕿𝖚𝖓𝖆@lemmy.world to Memes@lemmy.mlEnglish · 3 年前
message-square
166
fedilink
  • nosurf@unilem.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 年前

    Man nix looks soo damn cool. I just dont know if id ever actually use it. But a versioned controlled OS seems so sweet.

    Can you use it to choose desktop environment as well?

    • pimeys@lemmy.nauk.io
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 年前

      You can. I run sway and it is configured through nix:

      https://github.com/pimeys/nixos/blob/main/desktop/sway/default.nix

      Gnome design makes it a bit harder, but not impossible:

      https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/

      Somebody doing the same for KDE:

      https://github.com/LunNova/nixos-configs/blob/dev/users/lun/on-nixos/kdeconfig.nix

      So the answer to your question is yes. It is possible and kind of required to go the full nix route with NixOS. It might not always be super straightforward with large DEs, and for sure works much better with window managers that already utilize text configuration.

    • Xylight (Photon dev)@lemmy.xylight.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 年前

      Yep. To change desktop environments, just change:

      services.xserver.gnome.enable = true;
      

      to

      services.xserver.plasma5.enable = true;
      
      • nosurf@unilem.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 年前

        Wow. Im gonna try it out in a vm even if i have no use for it. That is crazy.

        • Xylight (Photon dev)@lemmy.xylight.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 年前

          It’s really nice. When you setup a new system, you don’t have to spend hours changing settings, configs, and installing packages. With NixOS, just copy the config file from your old system and then run nixos-rebuild.

          • pimeys@lemmy.nauk.io
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 年前

            I really wish the default template switches to flakes soon. Using flakes is a must for the best experience, and converting the default config is at best a hassle and for newbies a huge mountain to cross.

      • pimeys@lemmy.nauk.io
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 年前

        This is cool because it gets rid of all the packages when you switch. There is nothing left of Gnome when you switch to KDE.

Memes@lemmy.ml

memes@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 602 users / day
  • 3.29K users / week
  • 7.85K users / month
  • 15.3K users / 6 months
  • 12 local subscribers
  • 54.1K subscribers
  • 16K Posts
  • 251K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • sexy_peach@feddit.de
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org