From 1017538d593a3f4704e5e3b3f12703bd2091a569 Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Wed, 22 Jul 2026 14:39:04 -0500 Subject: [PATCH] Fix hm switch error on linux vx mac --- host-specific/aleister-noah.nix | 3 +++ modules/home/core.nix | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/host-specific/aleister-noah.nix b/host-specific/aleister-noah.nix index 4144d3b..fe75312 100644 --- a/host-specific/aleister-noah.nix +++ b/host-specific/aleister-noah.nix @@ -30,6 +30,9 @@ # I generally don't care about unfree stuff nixpkgs.config.allowUnfree = true; + # Necessary for nix conf on MacOS, but will error on Linux home-manager modules + nix.package = pkgs.nix; + #programs.fish = { # enable = true; # package = unstable.fish; diff --git a/modules/home/core.nix b/modules/home/core.nix index b0387d6..a7bea56 100644 --- a/modules/home/core.nix +++ b/modules/home/core.nix @@ -11,21 +11,14 @@ in { nixpkgs.config.allowUnfree = true; nix = { - package = pkgs.nix; settings = { experimental-features = [ "nix-command" "flakes" ]; - extra-trusted-users = [ - "noah" - ]; extra-substituters = [ "https://cache.ngp.computer" ]; - extra-trusted-public-keys = [ - "misaki.packetlost.dev:y5Z/utaVBozpL0UAbUQDWLjpm2sVMOoKzyG76n/167A=" - ]; }; }; -- 2.51.2