PoolloverNathan

joined 1 year ago
[–] [email protected] 3 points 6 months ago* (last edited 4 months ago)

OS: NixOS unstable (flaked)
WM, DE: KDE Plasma
Massaging: Varies
Don't really watch many videos / listen to music
Editor: Neovim
Programming language: Varies, mostly Nix + Rust
Browser: Firefox
Phone launcher: Niagara

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

Made a Nix library for this. For a simple setup you can just build this (untested) and run the result:

import ./encase.nix {
  name = "firefox";
  rw.home.nathan = /home/nathan/home-for/firefox;
  # other dependencies it might need...
  tmp = /tmp; # fresh tmpfs for this sandbox
  network = true;
  command = pkgs.firefox;
}

It doesn't have user isolation yet, so if it escapes the browser and the chroot (which doesn't have a /proc unless you set proc = /proc;, and runs in a PID namespace either way) your files are still at risk. However, this is still pretty secure, and you can run the script itself as a different user (it creates a new UID namespace so chrooting can be done without root).

[–] [email protected] 2 points 6 months ago (1 children)

Actually I want to write an app browser for NixOS now.

[–] [email protected] 4 points 6 months ago (1 children)

I'm glad Voyager puts baby icons on new accounts; it usually resembles how they look in real life.

[–] [email protected] 5 points 6 months ago

Use *asterisks* for in-word italics: *in*famous → infamous.

[–] [email protected] 18 points 6 months ago

I calmly remove my USB labeled “oh shit” from my pocket, insert it, and reboot.

[–] [email protected] 2 points 6 months ago

That's why I put Linux on my house.

[–] [email protected] 6 points 6 months ago

I just add this to my system config:

networking.wireless = {
  enable = true;
  networks = import ./networks.nix;
};

Then I define my networks in a gitignored file and I'm good to go.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

The closest I've been to Windows since I've installed Linux is putting its partition in the NixOS (gen 19) filesystem list.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

Nah, we shouldn't block them. When we do, they can continue to troll unnoticed and scare away new users. When we don't, we can call their bullshit every time they comment.

[–] [email protected] 1 points 6 months ago

...and this here, folks, is the problem.

view more: ‹ prev next ›