add personal cache
This commit is contained in:
parent
e14744ff80
commit
28f5467646
3 changed files with 13 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
config.dendritic.features.system-nix = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
user = config.dendritic.current.primaryUser;
|
||||
|
|
@ -29,6 +29,16 @@
|
|||
services.fstrim.enable = true;
|
||||
|
||||
time.timeZone = "America/Toronto";
|
||||
nix.settings = {
|
||||
substituters = [
|
||||
"https://cache.gwg313.xyz/mycache?priority=5"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"mycache:ovUjiiyQNUGjK8yZA4dPV1f8tIfCZrGIubdWvWpdvtc="
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.attic-client ];
|
||||
}
|
||||
)
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@
|
|||
192.168.194.54 graphene.zt
|
||||
192.168.191.218 candlekeep.zt
|
||||
192.168.191.201 grymforge.zt
|
||||
192.168.191.202 cache.gwg313.xyz
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,5 +13,6 @@
|
|||
192.168.194.54 graphene.zt
|
||||
192.168.191.218 candlekeep.zt
|
||||
192.168.191.201 grymforge.zt
|
||||
192.168.191.202 cache.gwg313.xyz
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue