Atemu

joined 5 years ago
MODERATOR OF
[–] Atemu@lemmy.ml 2 points 2 years ago

Thanks for the info!

[–] Atemu@lemmy.ml 2 points 2 years ago (2 children)

Interesting, was that ever announced?

[–] Atemu@lemmy.ml 2 points 2 years ago* (last edited 2 years ago)

Hardware AV1 encoding will not be supported with Xe, however.

The people in that a thread... How entitled can you fucking be. Holy shit.

Be patient and wait till the people working on the Xe driver enable HWEnc on DG2 my god...

If you wanted a known fully working product on Linux, you should not have bought a first-gen product (like, at all?) and certainly not one that's known for its relatively poor support on even its primary target OS.

[–] Atemu@lemmy.ml 1 points 2 years ago

I have multiple devices split across two locations and I end up having to use hard drives to periodically move files back over to my main desktop for sorting and archiving. If I want to access older files, I have to copy them from my main storage on the desktop to a hard drive, my NextCloud, or whatever device I want to access them on. I would like to avoid this drudgery by moving my file storage to a NAS

A NAS is a good idea but do note that this sort of setup can work aswell with the correct tooling.

don't really even need access outside the network, though it could be useful if I understood it enough to keep it secure

I can highly recommend Tailscale for this purpose.

run a few docker images for things like media server, open project, restyaboard, etc. I'm not sure if it makes sense to do this on the NAS or just get a simple NAS and do this stuff in a VM on my laptop or with a Rasberry Pie.

Depends. Many people host such things on their NAS since the NAS is always on anyways and barely does anything most of the time, so it's perfectly valid to do that.

Can I purchase/build a simple NAS that I use for storage and serve the files for my media server through a different device like my laptop?

Yes but in a home setting, it usually makes sense to keep the services running on the same device which stores the service's data.

It sounds like some of the pre-built machines can use drives of different sizes which would allow me to re-use the barely used drives inside of the WD devices. Do any of the self-build solutions allow for this.

Sure. Unless you need assistance setting up a Linux system (I doubt you do) or building a computer, self-built is almost always better. I use a low-power Intel single-board-computer (Celeron J4105) in a small PC case for this purpose.

For pooling different sized drives, I use btrfs but the same could be achieved using ZFS or even LVM.

Do note that, unless you have specific uptime requirements, RAID is pretty wasteful in a home setting in both hardware and time thinking about it.
When it comes to digital hygiene, figure out backups first. 3-2-1!

I would LOVE some book/media/community recommendations for digital hygiene and how to handle store, backup, maintain the deluge of information in our modern lives.

I've found git-annex for myself. It's quite a rabbit hole and takes a lot of effort to understand and really use well but it's an incredible tool that has greatly aided simplifying my storage setup.

One of the best things about it is that it separates data from metadata. You always have the metadata but you don't need to hold the data all in one place.
This means you can re-organise files on your laptop without those files actually being present on the laptop. They could be anywhere; on a hard disk sitting unplugged on a shelf, in the cloud, on some other machine that's turned off, on the NAS etc. but you can move them around in the filesystem as if they were there. If you needed some file's content content, you can ask git-annex where the file's content is stored, i.e. plug in the hard drive and then ask it to copy the data over.

That's the gist of it (git-annex can do a bunch of other cool stuff) but this really helped my get my shit together w.r.t. storage hygiene.

[–] Atemu@lemmy.ml 3 points 2 years ago

I'm expecting something more like this:

Linux? Uh, okay, we don't support that. Bye!

[–] Atemu@lemmy.ml 3 points 2 years ago

How do you keep track of what you’ve installed/ your favorite apps?

https://github.com/Atemu/nixos-config/blob/b79f42793a709db083cf53867f85d5d46e41eb69/packages.nix

Separately, how can I backup the configurations I’m using right now.

https://etckeeper.branchable.com/

[–] Atemu@lemmy.ml 2 points 2 years ago

Oh, the IPO must be really imminent then.

[–] Atemu@lemmy.ml 2 points 2 years ago

I've done single-GPU passthru in NixOS. It's not any different than on i.e. Arch, just that you configure some basic setup things such as kernel parameters declaratively using NixOS options.

I highly doubt your issues are NixOS-specific, so I'd recommend you ask about them in the general channels.

[–] Atemu@lemmy.ml 1 points 2 years ago

Overlays allow any modification you can think of, not just limited to what packages have as "override options". You could say firefox = final.hello and then building pkgs.firefox would then result in hello. You could also say firefox = final.callPackage { } ... to inject a whole new derivation you've written yourself. You could make firefox = "foo" if you wanted to (not that that'd make any sense to do).

firefox = prev.firefox.override { ... } is just the specific case where you set the firefox package to its overridden variant (.override returns a new derivation).

That's everything as far as overlays are concerned.

The other piece to this puzzle are overrides. Overrides are a function of each derivation that returns a modified version of the derivation. You can override parameters (a package definition is usually a function) or the attributes of the mkDerivation call. The former obviously relies on the derivation having some flags you could change in its parameters while the latter can do anything you could do in a mkDerivation call (adding additional patches, using a different src, running some more commands preInstall etc.).

You can use overrides without overlays. If all you want is a leaf package but slightly different in your systemPackages, you could do that directly where you set it:

environment.systemPackages = [
  (firefox.override { ... })
  hello
  whatever
  ...
];

Overlays come into play when you want to have dependants of the package to also use the overridden variant without having to explicitly inject it via another override every time or need to modify some service's package that you didn't set yourself (most offer an option to change the package used but some don't).

[–] Atemu@lemmy.ml 2 points 2 years ago (1 children)

made by IN Europe

Huh? That'd be news to me.

[–] Atemu@lemmy.ml 1 points 2 years ago (1 children)

Try the GA3, they are fixed on the inner end and fit nearly perfectly on a Brompton:

[–] Atemu@lemmy.ml 2 points 2 years ago (2 children)

There are no standardised options like you're looking for to be found in overlays. Overlays allow "editing" the package set by constructing a new package set where one (or multiple) package(s) is/are different, that's it.

An Individual package can be "edited" to be the same package but slightly different by using its override function. It allows you to change the package's parameters. I.e. overriding one dependency with another. Some packages might provide configuration flags in their arguments but they're in no way uniform and always specific to the package. They're also not guaranteed to be stable.

To change a package, you must look at the package's definition to see what could be changed about it. Overlays are just the way to apply that change to the entire package set.

view more: ‹ prev next ›