I’ll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!

Anyways: I primarily use Gentoo Linux.

I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted.

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon.

Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes.

What’s your unusual setup like?

  • LiveLM
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    9 months ago

    Question: are you using Flakes?

    I’ve been kinda dipping my toes on NixOS but the flakes are really throwing a wrench my way… Yet they are apparently NixOS’ future so I’m just kinda stuck

    • 2xsaiko@discuss.tchncs.de
      link
      fedilink
      arrow-up
      8
      ·
      9 months ago

      Yeah. Flakes are essentially three things (or four if you count the new CLI):

      1. Lock files for inputs (like NPM)
      2. A defined output layout (so, every flake has its packages at packages.<system> for example)
      3. Pure mode (don’t worry about it unless you read from arbitrary locations in the file system or try to download files without a hash)

      That’s it, essentially nothing else changes. It’s just a different entry point to Nix code including NixOS configurations.

      Here’s a great article (apparently, I have only skimmed it myself) explaining flakes more in detail: https://jade.fyi/blog/flakes-arent-real/

    • pr06lefs@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      9 months ago

      Flakes on the system level aren’t too bad. You can pretty much just keep your configuration.nix, but now you call that from a flake.nix. The difference is you remove all your nix-channels and you specify your nixpkgs in your flake.nix. So its really using a flake instead of nix-channels.

      The cool part is when you nixos-rebuild the first time, it will save your nixpkgs version in a flake.lock. Then it will stay that way until you choose to upgrade with nix flake update. Nice and stable.