Re-add nix community cache
This commit is contained in:
parent
5553b32d53
commit
d87a8b57f7
|
@ -44,6 +44,7 @@
|
|||
};
|
||||
## Left over uncategorized packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
firefox unstable.firefox-beta-bin
|
||||
firefox
|
||||
unstable.firefox-beta-bin
|
||||
];
|
||||
}
|
||||
|
|
18
flake.nix
18
flake.nix
|
@ -54,7 +54,23 @@
|
|||
};
|
||||
fenix = fenix.packages.x86_64-linux;
|
||||
};
|
||||
modules = [ ./hardware/levitation.nix ] ++ desktopModules;
|
||||
modules = [
|
||||
./hardware/levitation.nix
|
||||
({ pkgs, ... }: {
|
||||
## Setup binary caches
|
||||
# First install cachix, so we can discover new ones
|
||||
environment.systemPackages = [ pkgs.cachix ];
|
||||
# Then configure up the nix community cache
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
})
|
||||
] ++ desktopModules;
|
||||
};
|
||||
|
||||
nixosConfigurations.x86vm = nixpkgs.lib.nixosSystem {
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
# Install general use packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
# cachix for nix cache management
|
||||
cachix
|
||||
# Install our shell of choice
|
||||
unstable.fish
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue