Skip Navigation
A lot of dependence on Github
  • I share your concern about over dependence, but for different reasons.

    There's a lot of metadata Github has that's not backed up in the git repo. For example. pull requests, issues, projects, milestones, wikis etc.

    There appears to be third party tools that can back this metadata up using Githubs API. I wonder if anyone bothered. Kinda doubt it.

    After the Google cloud UniSuper incident, I think it's clear that no org is immune from accidentally deleting everything.

    which somehow belong to Microsoft and is not good for privacy.

    It's hard for me to guess exactly what your concern is. There's nothing stopping you from using an anonymous account on Github to contribute. Or just connecting to it via Tor / VPN.

    If its mostly about sticking to principles, then you might like https://guix.gnu.org/ more.

    There's also these are projects you could contribute to:

    I think they're all using forgejo or some FOSS git forge. At least I think aux is still planning moving to forgejo. However, I'm not aware of anyone still planning to fork nixpkgs.

  • Impermanent NixOS: on a VM + tmpfs root + flakes + LUKS
    willbush.dev Impermanent NixOS: on a VM + tmpfs root + flakes + LUKS

    <p>Ever since reading Graham Christensen's blog post, Erase your darlings, I've been intrigued by the idea of opt-in state persistence. The concept has become known as impermanence , but I like to think of it as:</p> <blockquote> <p>I say we take off and nuke the entire site from orbit. It’s the onl...

    2
    Help Me With My Baby Nix Dev Environment
  • I was wondering if I am using a large package like TexLiveFull, how to make sure nix don’t delete large packages after I close the shell? I also don’t want this package to be available in my global environment, as I don’t need to use it outside vscode.

    There's a bunch of tools that solve this problem.

    https://github.com/direnv/direnv/wiki/Nix

    In the link above check out the table in the "Some factors to consider" section. However, note that it hasn't be updated since May 30, 2022. Many of those tools don't depend on direnv if you don't need its functionality.

    Personally, I use direnv and enable nix-direnv using these options:

    https://search.nixos.org/options?channel=23.11&amp;from=0&amp;size=50&amp;sort=relevance&amp;type=packages&amp;query=direnv

    Here's an example of how I use direnv with nix-direnv.

    Edit: damn over wrote what I wrote to the first question with a response to the second question. Thank goodness for automatic file backups I have setup in Emacs.

  • Help Me With My Baby Nix Dev Environment
  • Another question is how to keep my packages up-to-date. I don’t do serious development work, thus I typically perfer my package and dev-tools to be on the latest version. I prefer to have a little management of this as possible. Ideally, every time I start up a nix shell, the package manager will grab the latest version of the package if possible without requiring additional interaction from me. Is this possible?

    Definitely sounds like you should look into using https://direnv.net/. Once you direnv allow the directory, as soon as you enter the directory it will create per-project isolated development environments.

    The in the .envrc file you could have something like:

    nix flake update
    use flake
    

    If your using nix flakes which also imply you're using git.

    However, without flakes you could use a tool like:

    And run their update command from the .envrc

    Or if you don't want to use direnv, then perhaps run a update command from the nix shellHook.

    shellHook =
      ''
        echo "Hello shell"
        export SOME_API_TOKEN="$(cat ~/.config/some-app/api-token)"
      '';
    

    Sorry, I'm not sure about your last question.

    Edit:

    If you're using git and a forge like GitHub, then you could use a GitHub action to automate the update and create a PR. Such as a GH action like https://github.com/DeterminateSystems/update-flake-lock

    Personally, for projects I use direnv + flakes and that github action above, but I can understand if you don't want to mess with learning git.

  • Impermanent NixOS: on a VM + tmpfs root + flakes + LUKS
    willbush.dev Impermanent NixOS: on a VM + tmpfs root + flakes + LUKS

    <p>Ever since reading Graham Christensen's blog post, Erase your darlings, I've been intrigued by the idea of opt-in state persistence. The concept has become known as impermanence , but I like to think of it as:</p> <blockquote> <p>I say we take off and nuke the entire site from orbit. It’s the onl...

    0
    Goodbye Non-KISS Appliances
  • When you do buy one make sure it is one that could be legally sold in the EU so you can get one that lasts.

    I was going to call BS, but I set my VPN to Dublin, Ireland and started shopping there using google maps.

    Some places I looked:

    https://powercity.ie

    https://www.appliancesdelivered.ie/

    https://www.miele.ie/e/refrigeration-appliances-1022129-c

    Lot of interesting brands I ran across:

    BEKO
    BOSCH
    CANDY
    HOOVER
    HOTPOINT
    INDESIT
    LIEBHERR
    MIELE
    NORDMENDE
    NORKO
    POWERPOINT
    SIEMENS
    TCL
    WHIRLPOOL
    

    Really surprising to my that a Bosch / Miele can be had for less than $1000. In the US, it's hard to find anything less than $3k in those brands. I have seen some places around here sell Beko, but only in white.

  • Goodbye Non-KISS Appliances
    willbush.dev Goodbye Non-KISS Appliances

    <p>Yesterday, we gave away our ~6-year-old GE French-door refrigerator after a never-ending slog of repairs. At least the guy and his mother who came to pick it up have a side-hustle of repairing and reselling appliances. There's hope it won't end up in a landfill. He offered to sell me a 4-door Sam...

    10
    Fast OCR to clipboard
    willbush.dev Fast OCR to clipboard

    <h1>Just give me the text</h1> <p>I wanted to share a surprisingly elegant solution I found to copying text into the clipboard where for one reason or another it's otherwise not possible.</p> <pre><code><span>flameshot</span><span> gui --raw </span><span>\ </span><span> </span><span>| </span><span>...

    2
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)QQ
    qqq @programming.dev
    Posts 4
    Comments 14