Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MayNiklas committed Aug 31, 2024
1 parent 967ca03 commit 1ce76a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/nix-common/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{ config, pkgs, lib, flake-self, nixpkgs, ... }:
with lib;
let cfg = config.mayniklas.nix-common;
in
{
in {

options.mayniklas.nix-common = {
enable = mkEnableOption "activate nix-common";
Expand Down Expand Up @@ -48,12 +47,14 @@ in
settings = {
# binary cache -> build by DroneCI
trusted-public-keys = mkIf (cfg.disable-cache != true) [
"nix-cache:4FILs79Adxn/798F8qk2PC1U8HaTlaPqptwNJrXNA1g="
"mayniklas.cachix.org-1:gti3flcBaUNMoDN2nWCOPzCi2P68B5JbA/4jhUqHAFU="
"nix-cache:4FILs79Adxn/798F8qk2PC1U8HaTlaPqptwNJrXNA1g="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
substituters = mkIf (cfg.disable-cache != true) [
"https://cache.lounge.rocks/nix-cache"
"https://mayniklas.cachix.org"
"https://nix-community.cachix.org"
];

#Users allowed to run nix
Expand Down

0 comments on commit 1ce76a1

Please sign in to comment.