feat: cachix

This commit is contained in:
gothiquess
2025-02-23 09:40:03 -05:00
parent 9443b67513
commit d6c287abd6
2 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -36,6 +36,7 @@ in {
home.packages = with pkgs;
[
cachix
# any other packages go here
# xrandr
xorg.xrandr