monstre n'utilise plus phenom comme cache
This commit is contained in:
@@ -2,12 +2,13 @@
|
|||||||
let
|
let
|
||||||
inherit (lib) mkIf mkMerge;
|
inherit (lib) mkIf mkMerge;
|
||||||
profiles = config.r6d.profiles;
|
profiles = config.r6d.profiles;
|
||||||
|
computers = config.r6d.computers;
|
||||||
in {
|
in {
|
||||||
nix = mkIf config.r6d.config-generator.nix-serve-client {
|
nix = mkIf config.r6d.config-generator.nix-serve-client {
|
||||||
# Cache http pour le store
|
# Cache http pour le store
|
||||||
requireSignedBinaryCaches = false;
|
requireSignedBinaryCaches = false;
|
||||||
binaryCaches = [
|
binaryCaches = [
|
||||||
(mkIf profiles.isDubronetwork "http://192.168.10.169:5000")
|
(mkIf (profiles.isDubronetwork && (! computers.isMonstre)) "http://192.168.10.169:5000")
|
||||||
(mkIf profiles.isDubronetwork "http://192.168.10.252:5000")
|
(mkIf profiles.isDubronetwork "http://192.168.10.252:5000")
|
||||||
|
|
||||||
(mkIf profiles.isPrunetwork "http://192.168.1.20:5000")
|
(mkIf profiles.isPrunetwork "http://192.168.1.20:5000")
|
||||||
|
|||||||
Reference in New Issue
Block a user