apt_install_coffee

joined 3 years ago
[–] apt_install_coffee@lemmy.ml 11 points 1 year ago (1 children)

Software to allow partitioning gpu resources among multiple virtual machines instead of just assigning the one PCIe device to a single VM. Very useful for having a single GPU do 3D acceleration on a host and multiple guests at the same time.

[–] apt_install_coffee@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Your personal files e.g. ~/Documents are not recreated, you'll still need backups of those.

caveats are you've got to use:

  • home-manager to generate your dotfiles.
  • something akin to sops to generate and securely store your private keys and secrets.

But all this can be written in the one flake, so yes nixos-install --flake <GIT URL>#<HOSTNAME> Is sufficient for me to rebuild my desktop, laptop or server from the same repository.

I've never used Gentoo, and I'm sure there are other methods of achieving the same level of reproducibility but I don't know what they are.

Nixos can be as modifiable as Gentoo with the caveat being it's a massive pain in the ass to do some things. I have a flake for making aarch64-musl systems which has been an endeavour, and... It works? I have a running system that works on 2 different SoCs. I do have to compile everything quite often though.

There are efforts to recreate Nixos without systemd, but that's a huge effort; because it's very "infrastructure as code", you have to change a lot of code where editing a build script would've sufficed on arch/Gentoo.

As for nix vs guix, guix was described to me as "if you only ever want to write in scheme", whereas nix feels much more like a means to an end with practical compromises spattered throughout.

[–] apt_install_coffee@lemmy.ml 4 points 1 year ago* (last edited 1 year ago) (3 children)

Perhaps, but when I accidentally nuked my system by dd'ing to one of the hard drives, being able to install the exact same system back onto it by pointing the installer to my git repository was an excellent experience.

[–] apt_install_coffee@lemmy.ml 4 points 1 year ago

Statically linking is absolutely a tool we should use far more often, and one we should get better at supporting.

[–] apt_install_coffee@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Tailscale edits /etc/resolv.conf, since your DNS isn't working start by making sure that file is how the archwiki suggests rather than what tailscale changes it to.

An uninstalled tailscale may still have left that file modified.

[–] apt_install_coffee@lemmy.ml 12 points 1 year ago

The specifics matter, but generally no.

When an actual fraud investigation is being done into something major like a casino laundering money, my government tends not to turn it into a media circus until after investigations are underway.

When a politician tells me they want to 'tackle fraud', especially welfare fraud, I hear "I want to arrest people for being poor". It sounds like a dog-whistle to me, because every time I hear it used, it's by people bearing a "the cruelty is the point" mindset.

[–] apt_install_coffee@lemmy.ml 20 points 1 year ago (1 children)

Apparently the tested interface that wasn't suitable was CAMM2.

Hopefully either the interface or the manufacturing process improves so that future products can use CAMM2 for this kind of bandwidth.

[–] apt_install_coffee@lemmy.ml 1 points 1 year ago

I wish.

It was a bcachefs array with data replicas being a mix of 1,2 & 4 depending on what was most important, but thankfully I had the foresight to set metadata to be mirrored for all 4 drives.

I didn't get the good fortune of only having to do a resilver, but all I really had to do was fsck to remove references to non-existent nodes until the system would mount read-only, then back it up and rebuild it.

NixOS did save my bacon re: being able to get back to work on the same system by morning.

[–] apt_install_coffee@lemmy.ml 10 points 1 year ago (4 children)

A few months ago I accidentally dd'd ~3GiB to the beginning of one of the drives in a 4 drive array... That was fun to rebuild.

[–] apt_install_coffee@lemmy.ml 26 points 1 year ago

It seems a lot of new developers want to do some things differently; old guard devs can either make some compromises, or accept that fewer new devs will want to be part of upstream.

[–] apt_install_coffee@lemmy.ml 42 points 1 year ago (1 children)

Dunno man, when what the dev of 30+ years said was more or less "fuck off", it seems that advice was in fact heeded

[–] apt_install_coffee@lemmy.ml 6 points 1 year ago

It's a chicken and egg problem; manufacturers aren't going to care to upstream drivers if not enough of their users are on Linux, which slows new hardware. It's much better than it was, but still ongoing.

Amd's 7000 series amdgpu driver was busted in several ways for like a year post launch, and is still missing tunables for many GPU features.

Manufacturers are capable of making out of tree and unfree modules, but honestly I prefer the slow progress if it means most driver work stays in-tree.

view more: next ›