lhotze

joined 2 years ago
[–] lhotze@lemmy.ml 5 points 1 year ago

Tell me about it...

The only reason I might, in the distant future, ever consider changing again is this project, which hopefully would be something between NixOS and Qubes. But that is far in the future and not even that certain.

[–] lhotze@lemmy.ml 2 points 1 year ago

When you set a FF profile there is a key called bookmarks. You can set them there:

programs.firefox = {
  enable = true;
  extensions = [
    pkgs.nur.repos.rycee.firefox-addons.vimium
    ...
  ];
  profiles = {
    my-profile = {
      name = "yourname";
      settings = {};
      bookmarks = [
         {
           name = "This is a folder";
           toolbar = true;
           bookmarks = [
             {
               name = "You can nest folders";
               bookmarks = [
                 {
                   name = "This is a lemmy bookmark";
                   keyword = "lemmy";
                   url = "https://lemmy.ml/";
                 }
            ...
        ];
      ];
    };
  };
};

You can always look at the home manager reference, I usually look here.

[–] lhotze@lemmy.ml 1 points 1 year ago (2 children)

The stable setup on the laptop you can get by using a DE like Gnome that comes with batteries included. If you go for more minimal setups like a window manager it will take quite a bit longer. NixOS as a distribution is pretty easy to get running, if you are familiar with the desktop environment that you install in your system getting it setup is much much simpler than doing so in other distros like Arch, since it usually consists of adding a line like desktopEnvironment.gnome.enable = true to your config and the system takes care of almost everything. I even think that gnome gets installed by default on the first run.

[–] lhotze@lemmy.ml 19 points 1 year ago (8 children)

Everything NixOS (https://nixos.org) does. I am 99% sure that if anyone tries it out and gets comfortable with it they will never change again.

  • Your configuration is written in code, it is therefore persistent. Do you know that annoying feeling of "oh shit, how did I configure x program that I want to install on this other machine"? Never again.
  • You can wipe your machine and recover your config in no time. I have 3 machines working with the same config except for small variations. If I change the command to take a screenshot it changes in all of them. If I change my firefox bookmarks it is persisted accross them too. Its awesome.
  • NixOS generates revisions of your config automatically. Ifyou change something and it breaks you can always use a previous version of your system that you know works to fix it.
  • The Nix package repository is the largest (by far) in all the linux ecosystem. And, even if a package you want is missing, adding it yourself is not that hard.

I am probably missing other nice things, but those are awesome already. It's true that the learning curve it a bit steeper than usual, but there is no distro quite like it and even for non coders you can get a lot out of it.