• 6 Posts
  • 66 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle




  • Might be misunderstanding this myself, but I thought a transparent proxy intercepts the requests to the destination.

    Now if this is the case, I wouldn’t expect any changes to your nix config, as it should be transparently intercepting the requests to cache.nixos.org. Now how this would work with nginx in this context I haven’t quite gotten my head around.

    Unless your set your gateway to be your nginx box; to handle all requests and forward them on as necessary.

    Might give this a go on my build server if I get a chance.




  • I’m currently using nixvim, or at least attempting to, I was previously just using lazygit outside my nix config, but now I’m trying to very slowly create a config I like, but its very slow, and I’ve got some weird padding issues with neovim and alacritty that I’m trying to solve first.

    I hadn’t heard of nixneovim, I think once I’m in a settled state I’ll take a look at it, I just don’t want to be pilling more change on top of an unstable base at the moment.

    P.s. I probably should have stated I’m fairy new to neovim in general, so still learning which plugins I like.


  • I do have a function that I cribbed from somewhere, unfortunately I didn’t note down the source at the time so can’t give them due credit here.

    filterNixFiles = k: v: v == "regular" && lib.hasSuffix ".nix" k;

    importNixFiles = path: (lib.lists.forEach (lib.mapAttrsToList (name: _: path + ("/" + name)) (lib.filterAttrs filterNixFiles (builtins.readDir path)))) import;

    Then used as normal

    modules = [ home-manager.nixosModules.home-manager vscode-server.nixosModule ] ++ (importNixFiles ./hosts/required) ++ (importNixFiles ./hosts/machines/${hostname})

    Edit

    Apologies for formatting on mobile




  • letThemPlaytoRetroGaming@lemmy.worldPlay GB games
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    Modding with IPS screen is fairy easy nowadays with the GBA there is some no soldier options not sure if that is the same with an original dmg.

    Another option could be a Epligoue GB operator, which allows you to play your original cartridges on pc.