WYGIWYG

  • 0 Posts
  • 17 Comments
Joined 8 months ago
cake
Cake day: September 24th, 2024

help-circle
  • There are so many unique things that arouse people. You know that rule that there’s a fetish for everything. I strongly suspect it’s a human wiring issue, some related evolutionary advantage that manifests as having things for feet, or hair colors, or freckles or untold less socially acceptable things.


  • Root can’t hit it simply, it’s mounted rw, with a RO mount inside. Root can just check add and remove stuff while running with nix commands.

    Basically, it you have a privileged access exoloit, it’s possible to target someone in ways you can’t in silverblue

    Some people have made ways to make it more immutable. You can do things like add user folders and etc to the store. Harden it a little more. I’m the end, priv can just modify config*.nix and run rebuild in the background changing whatever.

    Other os, you have to commit changes and actually reboot. Which gives you an opportunity to check for changes and deny. Or at least fully detect it happened.

    It’s not that it’s dangerously insecure, but it’s important to recognize it’s not actually bulletproof and targeted attacks are still quite possible. It’s LEAGUES more secure than regular OS, but you can’t go full LifeLock on it.










  • rumba@lemmy.ziptoFunny@sh.itjust.worksIt WORKS
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    In my neighborhood, they misdeliver a package at least 2 times a week.

    I’ll see the FB group, so and so, your package is at my house or does anyone recognise this porch

    They never fuck up my house, but man do they fuck up the rest of the hood.





  • For me, it felt like old times. Bringing up slackware, then bringing up redhat, then fighting in laptop Nvidia and AMD drivers. I was scary how much of my existing knowledge was useless though. If you install it by the book, you can’t even run a linked library.

    I spent a couple of hundred hours learning how to configure it. I’ve been running it for around a year and a half. I’m still sub-par. First time around, 23.11, I installed home-manager as a flake. I got it up and running in a couple of hours, but managed to wedge myself when it was time for updates. I had written just enough weird nix language to make my configs not work in 24.05. I could get the OS to come up, but not home-manager. I started fresh, taking old configs item by item and re-implemented them via the docs fresh.

    When I got a new laptop, I booted off the USB, copied my home folder and grabbed configuration.nix and home.nix and it all just magically worked.

    That said, NGL, 25.05 has me a bit worried :) But at least I don’t have to fight Wayland this time.


  • NixOS: How do I install OBS?

    edit /etc/nixos/configuration.nix

    locate environment.systemPackages = with pkgs; [

    and add

    linuxPackages.v4l2loopback
    (wrapOBS {
      plugins = with pkgs.obs-studio-plugins; [
        obs-backgroundremoval
        obs-shaderfilter
        obs-vintage-filter
        
      ];
    })
    

    Then you need to install the kernel driver

    you can find the instructions here:

    https://nixos.wiki/wiki/OBS_Studio

    make sure you follow the part about boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];

    if you want to use the virtual cam driver.

    You may find out that you want to install this in home-manager or flakes instead, but those are novels themselves.

    edit: ohh yeah almost forgot run

    sudo nixos-rebuild switch

    after you edit the configs to install

    NixOS: How do I update the version of OBS after it’s installed?

    sudo nix-channel --update

    sudo nixos-rebuild switch

    If it breaks, the errors are mostly unhelpful, you need to poke around and make educated guesses.

    If it bricks you can go back to the previous version in grub by selecting the second to the top entry

    make sure you garbage collect every now and then or the app store gets huge.


  • I’m about neck deep in ancible/salt/chef over the years at work.

    They are great tools for simple configurations where multiple people are needed in the kitchen, but they require meticulous curation.

    But I buy a new laptop, I slap in my USB vanilla Nix ISO, drop two config files in /etc/nixos call rebuild and I’m done.

    Updating my packages to latest is a single command. Adding a package is a single line. And the most powerful thing, nix-shell -p whatever install whatever for that session. I don’t even bother putting most stuff into my declaritive configs, nix-shell -p ffmpeg, when I exit it’s no longer available.

    And if I do something awful to my config and brick it, it’s just one grub menu to go back to the previous version.