neoney

joined 1 year ago
[–] neoney 3 points 1 year ago

Let’s hope this helps.

[–] neoney 3 points 1 year ago (3 children)

Thanks, I’ll hope to not use docker though - planning to run NixOS, which has a module for it.

Just double checked, the nixpkgs for lemmy-ui and lemmy-server have aarch64-linux support B)

[–] neoney 6 points 1 year ago* (last edited 1 year ago) (6 children)

For me, NixOS is like someone took the archwiki and made a distro with it. I can just do

services.lemmy = {
  enable = true;
  settings = {
    hostname = "lemmy.union.rocks";
    database.createLocally = true;
  };
  caddy.enable = true;
}

in my system config (example from Nix manual). It will install lemmy, install caddy, start lemmy backend on port 8536, frontend on 1234, expose it with a caddy reverse proxy to that hostname, and initialize a postgres database. This is also reproducible across systems, so it's pretty much guaranteed to work the same on one PC and on another.

This is very useful, because some programs require some more configuration, and this can remove the need to know where to put their config files, their package names, systemd service names from your head. It's all in there.

Also, when I fuck something up... when changing the config, it makes a new boot entry with it, so when booting I can just press arrow down when booting to select an older, working config. Magic.

Packages are also nicely separated from each other. I don't have to install stuff globally, when I need a program one time I can just do nix shell nixpkgs#audacity and have an ephemeral shell with the package installed.

There are (optiona) binary caches, so you practically don't have to compile anything from source when updating your system.

I have all my configuration on GitHub, like a lot of people, which makes it easy to share information.

A con is that when a program hasn't been packaged for NixOS (whether it's in nixpkgs or has a flake.nix in the repo), it's not that easy to use it, so learning to write derivations (packages) for NixOS is pretty much a must have.

Also another must have is being in some community that uses NixOS, because it is really hard to learn without someone to help and guide you IMO.

Worth it though

[–] neoney 2 points 1 year ago

NixOS!

I've switched my PC over to it after checking Nix (the package manager) out on Arch. Fell in love. It's a bit hard at the beginning, but it's worth it. Now my entire system configuration is in a GitHub repository, I can easily share it across devices, and when I fuck something up, I can just press arrow down when booting and have an older, working configuration.

[–] neoney 3 points 1 year ago

I'm pretty sure the website is mostly directed at distro maintainers, to not force a custom theme on users. They're fine with users tinkering on their own.

[–] neoney 1 points 1 year ago

One thing to note with sway and other wlroots based compositors - tearing is not a merged feature in wlroots, so you get pretty much always-on vsync, which means increased input lag which can matter in games like Osu.

[–] neoney 1 points 1 year ago (1 children)

you should give hy3 a star :P

[–] neoney 1 points 1 year ago (3 children)
[–] neoney 1 points 1 year ago

wlsunset on wayland

[–] neoney 2 points 1 year ago

hyprland is worth it

[–] neoney 3 points 1 year ago

Not much. I have a searxng instance, used to have nextcloud… I should start hosting more stuff really soon

view more: ‹ prev next ›