diff --git a/configuration.nix b/configuration.nix index 033b8c2..837cff1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,14 +26,22 @@ in { networking.hostName = "thonkpad"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - nix.settings.experimental-features = ["nix-command" "flakes"]; - nix = { nixPath = [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" "nixos-config=/home/synchronous/nix-cfg/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]; + + settings = { + experimental-features = ["nix-command" "flakes"]; + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; }; # Configure network proxy if necessary diff --git a/home/home.nix b/home/home.nix index 86bfe3c..9e99542 100644 --- a/home/home.nix +++ b/home/home.nix @@ -36,6 +36,7 @@ in { home.packages = with pkgs; [ + cachix # any other packages go here # xrandr xorg.xrandr