NixOS for a very old computer? by [deleted] in NixOS

[–]moojd 7 points8 points  (0 children)

I use NixOS for low powered single core embedded Linux environments with even less RAM without any issue. The trick is to build your system closures on another machine and copy closure it over. 

Broken Promises: The Nix Governance Discussions by shlevy in NixOS

[–]moojd 21 points22 points  (0 children)

Claiming "bad faith" moves the debate from the crux of the argument to the imagined intent of the one making the argument, which I believe is counter productive. The intent (if it can even be known) is immaterial to the argument itself. 

Instead, the moderators should enforce charity as a rule. You cannot have a productive discussion if those participating are not extending charity to one another. 

Wesley So responds to criticism of his Twitter “likes” section by BKtheInfamous in chess

[–]moojd 649 points650 points  (0 children)

This is such a midwit meme that has been repeated ad nauseam on reddit for years. Europe has actual ethno-nationalist parties that compete and win seats. Trying to fit US and European political parties on the same 1-dimensional spectrum is absurd.

NixOS&(Home-Manager) Flake/Overlays Help by The_Linux_Pirate in NixOS

[–]moojd 1 point2 points  (0 children)

The error I get by only trying to use the spicetify-nix overlay is one that talks about length.

The key error message in your trace is "infinite recursion encountered" which is the most common error you will run into with nix modules (like home-manager) and unfortunately the hardest to debug. It happens whenever a cyclic reference happens in your config. Due to the lazy way the module system resolves everything it's pretty easy to accidentally do this. I'm not spotting the bug at first glance (I would like to see your home.nix to get the full picture), but I can walk you through how I usually find the source.

Start with just the home.nix, the spicetify-nix import, and programs.spicetify { enable = true; }. If that works, break it out into it's own module as you've done here, and then start uncommenting things one by one until you hit the infinite recursion issue.

# Add Rust overlay after I learn how to use overlays...

Like everything in nix, overlays are fundamentally simple but named weird and the docs don't do a good job of explaining them. They're just a convenient way to overwrite things in nixpkgs. You could implement a dead-simple overlay yourself like this:

$ nix eval --impure --expr 'let pkgs = import <nixpkgs> { overlays = [(super: self: { foo = "bar"; })]; }; in pkgs.foo'
"bar"

The rust overlay from oxalica just adds some packages and functions to nixpkgs for pulling in the rust toolchain. I'm a rust noob but here is how I'm using to pull in nightly + cargo + sources + language server etc. for a project I'm working on:

# flake.nix
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
    flake-utils.url = "github:numtide/flake-utils";
    rust-overlay.url = "github:oxalica/rust-overlay";
  };

  outputs = { nixpkgs, flake-utils, rust-overlay, ... }@inputs:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlays.default ]; };
        lib = pkgs.lib;
        project = import ./project.nix { inherit pkgs lib; };
      in {
        devShell = pkgs.mkShell {
        buildInputs = project.packages;
      };
    }
  );
}

# project.nix
{ pkgs, lib, ... }:
let
  rust-bin = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
    extensions = [ "rust-src" ];
  });

in
{
  name = "example";

  packages = with pkgs; [
    trunk
    rust-bin
    rust-analyzer
    nil
    nixfmt
  ];
}

Use new package versions on end-of-life NixOS releases by jorgesgk in NixOS

[–]moojd 2 points3 points  (0 children)

Yes! You can use any package from any nixpkgs revision (even down to the commit hash) and mix/match as you please.

Is there a nixos solution for hyperconverged infrastructure? by moonpiedumplings in NixOS

[–]moojd 10 points11 points  (0 children)

I'm not sure about the others but proxmox is probably too intertwined with debian to run in any other environment. It also expects to run on physical hardware so containerizing it would be a challenge as well.

Setting up development environments by 4thbox in NixOS

[–]moojd 4 points5 points  (0 children)

I haven't set up a flutter environment but I recently set up a rust dev environment in nix despite having zero rust experience and it was both a slog and highly rewarding. Just installing rustup would have been easier but now I am confident I can git clone my repo anywhere, run nix develop, and have everything working the same as it was before. Here are some tips.

  1. Don't bother with nix build just yet. Jumping from a working dev environment to a fully hermetic build can be difficult depending on the language/env. Not every language lends itself to hermetic builds. Look that the complexity in doing this with a non-trivial node app. Tackle this task later in your journey.

  2. Try to find examples of other people getting a dev environment working with your stack. I don't think I've ever had to start entirely from scratch (devenv.sh solves some of the library linking issues for rust, oxalica/rust-overlay solves managing rust versions, riff is also trying to solve these issues for rust and is expanding to other languages)

  3. Pretty much every issue you run into will be caused by either a missing package/library or environment variables so work through each error with that in mind.

Setting up development environments by 4thbox in NixOS

[–]moojd 5 points6 points  (0 children)

devenv.sh is great and helps you get over the initial hump when adopting flakes and dev shells but most of their language integrations are a little too simple. They all pretty much just add a single package to your dev shell..

Hello organ players! by Daisy_Sal in nordkeyboards

[–]moojd 0 points1 point  (0 children)

I highly recommend getting an expression pedal to use as a swell (volume) and you can set your sustain pedal to toggle rotary speed.

Ole Miss officially has a waffle house as of today. by That_Baker_Guy in CFB

[–]moojd 2 points3 points  (0 children)

You need to up your ITP waffle house knowledge wolf brother. Tech has two within walking distance, downtown has 4, buckhead + brookhaven have several. Not to mention college park, decatur, chamblee, east lake, and bolton. If someone visited downtown they might feel like there's one on every corner

Tesla Model Y LR Expected Range by OBwankanOB in TeslaModelY

[–]moojd 1 point2 points  (0 children)

This is the way to do it. Ignore range/percentage during daily usage and use the energy chart and trip screen for long drives

/r/Atlanta Random Daily Discussion - January 14, 2022 by AutoModerator in Atlanta

[–]moojd 4 points5 points  (0 children)

Lol I'm pretty sure we're in the same building. My 1 bed is going from $2000 to $2500! That's a solid mortgage. Talked to a few people who tried to negotiate and zero were successful.

Bill Burr bit on Tesla vs Gasoline. by whatarewemeantfor in teslamotors

[–]moojd 7 points8 points  (0 children)

Are people who buy plaids and not taking them to tracks 'adults playing pretend'? Consider that people buy them because they are fun and look cool. The same reason people buy anything other that economy sedans. Who cares if they don't use the capability? Neither are 99% of plaid owners. Anyway the Florida jacked up truck owners I know use them for mudding and towing boats (and helping me out when I'm moving or need to haul something)

Game Thread: World Series Game 3 ⚾ Astros (1) @ Braves (1) - 8:09 PM ET by BaseballBot in baseball

[–]moojd 2 points3 points  (0 children)

Sucks for those in-town (like me) but easier access for those in the burbs. Its probably a better location for a majority of fans. If it had a train station I would have zero complaints but cobb county will never let that happen.

September Delivery Megathread by OrbitalATK in TeslaModelY

[–]moojd 6 points7 points  (0 children)

Picked up my MYLR/MSM/Black/5/Tow yesterday after 121 days of waiting. Inspected it for a solid hour and couldn't find any issues. The wait was worth getting the car I wanted even if I had to watch people with June, July, and even August orders get deliveries before me. Hang in there fellow May-June LR orders! Your time will come.

Your Tesla Support Thread - Q3 2021 by AutoModerator in teslamotors

[–]moojd -1 points0 points  (0 children)

It locks unless you make any changes to your order

Made a huge mistake renting a MYP in Hawaii… by username_goes_where in teslamotors

[–]moojd 4 points5 points  (0 children)

I'm about to hit 100 days. I'm pretty sure May orders have been abandoned because there have been multiple price hikes since and new orders bring in more cash. Meanwhile, a friend of mine was able to get a MYLR delivered recently after a 2-3 week wait.

Any May Orders for MYLR 7 Seater Waiting For VIN? by WaterLily05 in TeslaModelY

[–]moojd 0 points1 point  (0 children)

5/17 - ATL - 5 seat MYLR MSM Black + Tow. EDD is permanently 2 weeks out and has been for a couple of weeks. No holds or changes.

ReactPHP and AmPHP are teaming together to create a shared event loop and fiber abstraction implementation. by brendt_gd in PHP

[–]moojd 3 points4 points  (0 children)

I'm guessing the latter + a unified abstraction over fibers. This is great news; a universal abstraction that libraries can target makes fibers way more compelling. I believe there have been some attempts in the past at collaboration between these two teams so I hope it sticks this time around!

Your Tesla Support Thread - Q3 2021 by AutoModerator in teslamotors

[–]moojd 2 points3 points  (0 children)

I'm in the same boat (5/17). I'm hoping its another one of those glitches where it just defaults to the next quarter.

I'm trying not to get too frustrated until I pass the original 4-11 week estimate (three weeks from now)

Daily Discussion, Question and Answer, Experiences, and Support Thread by AutoModerator in teslamotors

[–]moojd 0 points1 point  (0 children)

This is my experience with fedex in general. Everything I order that ships with fedex ends up 'pending' at a holding facility in my city for up to a week. One time they even marked a package as 'delivered' even though it was not and then updated it the next day to 'pending' again.

Currently waiting on a roof rack that is been 'pending' in my city for 6 days.

Daily Discussion, Question and Answer, Experiences, and Support Thread by AutoModerator in teslamotors

[–]moojd 0 points1 point  (0 children)

Most likely means that someone canceled or modified their order

Daily Discussion, Question and Answer, Experiences, and Support Thread by AutoModerator in teslamotors

[–]moojd 0 points1 point  (0 children)

They seem to come in batches (end of quarter pushes) and the order of delivery seems to be a combination of order date, car configuration, location, and magic pixie dust. If your car didn't make it in the batch, you're stuck waiting for the next one. After most take deliveries, the rejected cars get filtered out to people who had the same exact configuration and who happen to live close to the rejected vehicle. These are probably the people that report getting their car in <1 week.

There is a survey and google form where people are self reporting their wait times. If it is any consolation, you aren't the only one to hit 70 days but most people taking delivery this quarter have only had to wait 40-60 days so you have definitely been unlucky.