• rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      It’s not even fully immutable, but it has a lot of the protections of it. The declaritive part is pretty hot and the package system is expansive and extremely safe.

      it’s also really nice to be able to commit new changes without rebooting.

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Not everything in the config paths are in the store.

          None of the users are in the store

          Any users can run arbitrary binaries as long as they’re not dynamically linked.

          Root can permanently add and remove arbitrary stuff to/from the store at run time.

          It’s pretty good in a lot of ways you can’t modify hosts and you can’t throw stuff into cron, but a great deal of Nixos is mutable.

              • iopq@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                13 hours ago

                Couldn’t reproduce modifying the store as root, but the users thing is true

                Not sure which things are not in the store though

                • rumba@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 hours ago

                  Root can’t hit it simply, it’s mounted rw, with a RO mount inside. Root can just check add and remove stuff while running with nix commands.

                  Basically, it you have a privileged access exoloit, it’s possible to target someone in ways you can’t in silverblue

                  Some people have made ways to make it more immutable. You can do things like add user folders and etc to the store. Harden it a little more. I’m the end, priv can just modify config*.nix and run rebuild in the background changing whatever.

                  Other os, you have to commit changes and actually reboot. Which gives you an opportunity to check for changes and deny. Or at least fully detect it happened.

                  It’s not that it’s dangerously insecure, but it’s important to recognize it’s not actually bulletproof and targeted attacks are still quite possible. It’s LEAGUES more secure than regular OS, but you can’t go full LifeLock on it.