ruination

joined 2 years ago
[–] ruination@discuss.tchncs.de 2 points 1 year ago

Wait, how does Google make money off of paywalled contents?

 

I've been thinking of moving my personal bookkeeping to Emacs, and I found out about Beancount, which seems perfect for me. I was wondering, though, if I could (and should) use it with Org-mode and noweb like the ledger tutorial in Worg. If so, what does such a workflow look like? Can I also use capture templates to quickly record transactions?

 

I've seen people use nix-doom-emacs, have it set up standalone, and some have fancy Nix code that's way beyond my understanding for now to set it up. Which one is the recommended way to set it up? Also, how do you get completions in nix-mode?

[–] ruination@discuss.tchncs.de 39 points 1 year ago

Even ignoring the surveillance aspect of ads, which I could go on a massive rant about, Google and other ad platforms themselves doesn't seem to care about harming people with malvertising and scam ads. Why should I care about their revenue?

[–] ruination@discuss.tchncs.de 3 points 1 year ago (2 children)

Are adblockers even illegal? I didn't think it was.

[–] ruination@discuss.tchncs.de 4 points 2 years ago

Time to poison their data, I guess.

[–] ruination@discuss.tchncs.de 2 points 2 years ago

Neat, thanks! Makes me even more grateful that I decided to switch.

[–] ruination@discuss.tchncs.de 10 points 2 years ago (2 children)

Is GrapheneOS affected?

[–] ruination@discuss.tchncs.de 2 points 2 years ago (1 children)

What a coincidence, I'm trying to learn SELinux too! Any tips?

[–] ruination@discuss.tchncs.de 2 points 2 years ago (3 children)

Really fasttracked my Linux learning experience too. If you're starting out Linux and are predisposed to masochism like I am, using Gentoo as your first distro really catalysed my understanding of Linux (at the cost of a week's worth of crying and self-loathing lmao).

[–] ruination@discuss.tchncs.de 2 points 2 years ago (5 children)

Gentoo lets you do basically whatever you want. The whole idea of it is that you make all the decisions in your system, as opposed to how most distros impose their developers' choices.

[–] ruination@discuss.tchncs.de 2 points 2 years ago (7 children)

To be honest, I only use it for fun. Unless you enjoy tinkering like I do, or you have really low RAM, there's no reason to use it over glibc. I'm aware that Madaidan also mentioned that it is more secure, but I'm not too knowledgeable on that so I can't really comment.

[–] ruination@discuss.tchncs.de 1 points 2 years ago

Even if they do remove them from the official stores, you can always go straight to the source and sideload it.

[–] ruination@discuss.tchncs.de 2 points 2 years ago* (last edited 2 years ago) (9 children)

You can even mix and match it H/SELinux with musl (and Clang, if you're up for some masochism and performance boost), though it does require patching sometimes. From my experience, you can find patches from Alpine's Aports and that should fix it ~90% of the time, but sometimes you'd need to write your own. Another tip in case you're interested in trying musl on Gentoo is that there's a compilation flag for large file support documented in Gentoo Wiki's musl development page which fixes compilation failures caused by calls to functions with names ending in 64 (e.g. fseek64). This is yet another massive source of compilation failure in musl. Lastly, you should mask musl versions ≥ 1.2.4 if you want to have any semblance of a * good time with it.

 

I've been hopping around Gentoo and Void the past few days with musl on both, and I'll be going back to NixOS in a bit due to not having enough time to set up either of them. I've realised how little RAM either systems use on musl, though, and I was wondering if there is any chance of replacing glibc with musl on NixOS?

 

Posted something similar on the NixOS sublemmy, but it basically boils down to the fact that I tend to switch back and forth between both distros, and I enjoy both very much as both Gentoo and NixOS provide an immense degree of control over my system and allow me to go wild and do whatever I want. But I feel the need to settle on one system and tinker with the other on a VM instead, as this switching back and forth is becoming a time sink and hindering my studies somewhat. The question is, which to use as the main desktop system? Gentoo feels more intuitive to me, but NixOS is definitely powerful at managing complex systems, but then again, I only have a simple desktop system. Another thing that I thought of is that maybe I can somewhat replicate NixOS' rollback feature, which is my absolute favourite feature of it, using a combination of Git and ZFS snapshots? I'd like to hear your thoughts on this.

 

This is more of a personal dilemma, since I keep finding myself switching back and forth between NixOS and Gentoo every now and then. I've done this twice for each so far ever since I immediately started off my Linux journey with Gentoo, making a quick stop at Arch once when I didn't have enough time to set either of them up properly. Both of them provides a massive amount of control over my system and lets me build my system in weird and interesting ways, e.g. musl, clang, and/or SELinux for Gentoo and impermanence for NixOS (it still kind of blows my mind right now). Personally, I find Gentoo more intuitive, but NixOS is more powerful for managing complex systems, but then again, I don't have any complex systems to manage, only a singular desktop system. I'd love to keep switching back and forth, but I feel like it has become sort of a time sink for me, somewhat hindering my studies, and thus I feel the need to decide which one to settle on, and which one to keep in a VM to mess around with. That brings me to the title of the post, which do you think is better for a simple desktop system? Also, I don't know how viable dual booting is, given that I manage my dotfiles almost entirely with home-manager, and I like to have secure boot.

 

I was looking at ryan4yin's new NixOS book and stumbled upon nixpak, a neat project that , as far as I understand, acts like a sandbox for Nix packages, similar to Flatpak. I've been wanting to try using it for myself, but haven't found any dotfiles I could ~~steal from~~ use as a references. If anyone uses this, I'd love to hear how, and what your experiences are with it.

 

I've heard that you should be using the appropriate stage3 archive for the profile you want to use, but what exactly are the differences between them? I'm asking this because I want to try doing a Hardened/SELinux/Musl/LLVM install, and there's a profile for that, but not the stage3 archive. I was thinking of starting with either Hardened/Musl or LLVM/Musl. Any thoughts on that?

 

I don't quite understand how to set up AppArmor on NixOS, and I can't seem to find anyone's dotfiles which has AppArmor configurations. Is AppArmor support not a thing on NixOS, or is it just configured the regular way and not declaratively?

 

I've seen a lot more people start to use Lanzaboote for secure boot recently, and I want to try it myself. However, I have a ZFS fiesystem, and I've heard that you can't do secure boot on ZFS, and the ZFS wiki itself says that you need to disable secure boot or the ZFS kernel module won't load. I'm planning on moving my root to tmpfs for impermanence tomorrow anyways, but my home will still be on ZFS. I'm not too knowledgeable in these areas, but I can't see why I can't just sign the ZFS kernel module. Anyone has secure boot on ZFS? I'd like to hear your thoughts on this.

 

I've been reading some articles regarding impermanence in NixOS, particularly this, this, this, and this, and I want to set up impermanence on my desktop system. Since it involves deleting my entire root, however, I figured I'd ask for advice here to learn what the best practices are for doing this to minimise risk of data loss, though it isn't too critical since it's a new setup. For reference, I have a Flake + home-manager setup on ZFS root, though I didn't think to do a snapshot when the disk was empty since I didn't know about impermanence when I started out. I also have separate ZFS datasets for /, /home, /nix, /var, and /var/lib. I want to set up impermanence for both root and home, with some persistent directories on home, but I'm not sure if I should set it up on both at once or if I should do root first and then home. Any advice or help is appreciated!

 

Anyone here uses Org-mode for PKM? I'm planning on moving to it from Obsidian, primarily due to Org-babel and the fact that it's open source, and would like to know what your setups and workflows are like with it (plus points if you're a student because I am too)

view more: next ›