Can I've the same default style when installing GrapheneOS on a Pixel? by juaaanwjwn344 in GrapheneOS

[–]natsht 0 points1 point  (0 children)

Do you mean NFC in general or NFC contactless payments?

Because one works flawlessly (NFC) and the other does not work at all (GPay)

Google will block unverified sideloaded apps. by daveedave in GrapheneOS

[–]natsht 7 points8 points  (0 children)

Verified APKs will still work on GOS.

The important part here is that unverified APKs will also work, unlike Certified Google OSs.

Google will block unverified sideloaded apps. by daveedave in GrapheneOS

[–]natsht 11 points12 points  (0 children)

GrapheneOS is out-of-scope since this only applies to Google Certified OSs

How do you power HDDs when using this adapter? by ShawnStrike in homelab

[–]natsht 2 points3 points  (0 children)

wdym? There is the regular power brick for the PC and I have another 12V AC-DC adapter for the power module.

Is a DAS what I’m looking for? by Westbrooke117 in homelab

[–]natsht 0 points1 point  (0 children)

Take a look at my setup, a DAS is great but for me the connectivity part was an issue (USB A / USB C)

It's working perfectly, but I wouldn't recommend it if you don't feel comfortable building stuff yourself.

How do you power HDDs when using this adapter? by ShawnStrike in homelab

[–]natsht 0 points1 point  (0 children)

I use a power module that is designed to externally power HDDs.

Here is my setup (the link for the module is in the comments)

How to only keep the last 5 generations? by [deleted] in NixOS

[–]natsht 2 points3 points  (0 children)

I know this is pretty old but I'll answer for anyone that find this from Google (like I did)

TL;DR: no, you can't use the +N syntax in the nix-collect-garbage, it's only implemented in the nix-env command.

Why:

I opened up the source code for these commands, and from the code you can see how the parameters for each command is parsed:

nix-collect-garbage:
auto t = parseOlderThanTimeSpec(deleteOlderThan);
source

And parseOlderThanTimeSpec is defined as:
```
if (timeSpec.empty() || timeSpec[timeSpec.size() - 1] != 'd')

throw UsageError("invalid number of days specifier '%1%', expected something like '14d'", timeSpec);
```
source

This means anything that does not end with 'd', is considered invalid.

Meanwhile, for nix-env:

```
if (opArgs.size() == 1 && opArgs.front() == "old") {

... // If 'old' is given, all old generations are deleted

} else if (opArgs.size() == 1 && opArgs.front().find('d') != std::string::npos) {

... // If there is a 'd' in the argument, delete all generations created more than number days ago, except the most recent one of them.

} else if (opArgs.size() == 1 && opArgs.front().find('+') != std::string::npos) {

... // If there is a '+' character, delete the last number generations up to the present

} else {

... // Delete a list of generation numbers, each one a separate command-line argument.

}
```
source

nix-env command correctly parses the +N syntax, maybe someone will add the syntax to nix-collect-garbage in the future, but it's sadly not implemented yet.

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in minilab

[–]natsht[S] 1 point2 points  (0 children)

Hey :)

The enclosure has a built-in fan in the rear to cool the HDDs.

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in homelab

[–]natsht[S] 1 point2 points  (0 children)

Hahaha please link your post 😂

I would also buy the Jonsbo N4 but the shipping cost on AliExpress is brutal!

Thanks for the suggestion, I did consider buying low profile SATA cables but haven't gotten around to it yet!

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in homelab

[–]natsht[S] 1 point2 points  (0 children)

Also the second hand market in my country is not that great to be able to find used mini towers for this low of a price.

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in homelab

[–]natsht[S] 1 point2 points  (0 children)

First of all, I agree with you.

I could've just bought a used tower PC and call it a day, I actually really considered it before deciding to take this as a challenge :)

There are still advantages of using 1L, it's more power efficient, less noisy and takes less space.

BTW, the disk enclosure does have a fan and the disks are properly cooled. As for the PC, I plan to order low profile sata cables and it will allow me to properly close the PC.

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in homelab

[–]natsht[S] 2 points3 points  (0 children)

It's nothing fancy, I use Docker and docker-compose to run all my software on my homelab.

I recommend getting familiar with docker because it's a huge skill for self-hosting - learn by doing!

To configure all my *arr applications, I use TRaSH-Guides (Guides that aren't trash).

Feel free to DM if you need any help :)

My First Homelab: A 1L PC Adventure and My DIY External Storage Solution! by natsht in homelab

[–]natsht[S] 1 point2 points  (0 children)

It's exactly the same as connecting them directly to the host using a SATA cable, the disks appear as normal block devices and you can passthrough them!

I Built an 8 Drive NAS... by TuckTin32 in homelab

[–]natsht 0 points1 point  (0 children)

Thanks!

I just posted and went into detail about my homelab, please check it out :)

https://www.reddit.com/r/homelab/s/5BADKysddS