Merge pull request #20 from JakeGinesin/cachix

feat: cachix
This commit is contained in:
2025-02-23 14:48:50 -05:00
committed by GitHub
2 changed files with 11 additions and 2 deletions

View File

@@ -26,14 +26,22 @@ in {
networking.hostName = "thonkpad"; # Define your hostname. networking.hostName = "thonkpad"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
nix.settings.experimental-features = ["nix-command" "flakes"];
nix = { nix = {
nixPath = [ nixPath = [
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos-config=/home/synchronous/nix-cfg/configuration.nix" "nixos-config=/home/synchronous/nix-cfg/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels" "/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 # Configure network proxy if necessary

View File

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