Add Hydra binary cache to common config
This commit is contained in:
parent
feb1b78310
commit
64f2d42a11
|
@ -1,11 +1,18 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [./common.nix];
|
||||
imports = [ ./common.nix ];
|
||||
|
||||
networking = {
|
||||
domain = "hq.c3d2.de";
|
||||
defaultGateway.address = "172.22.99.1";
|
||||
users.motd = builtins.readFile ./motd;
|
||||
|
||||
networking.domain = "hq.c3d2.de";
|
||||
|
||||
nix = if config.services.nix-serve.enable then
|
||||
{ }
|
||||
else {
|
||||
binaryCaches = [ "https://nix-serve.hq.c3d2.de" ];
|
||||
binaryCachePublicKeys =
|
||||
[ "nix-serve.hq.c3d2.de:FEi9GyFkou1Ua8INaEKmuGaww9E5y3XwrNGNRfKYeLo=" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
users.motd = builtins.readFile ./motd;
|
||||
|
||||
users.users.k-ot = {
|
||||
packages = with pkgs;
|
||||
[ screen tmux ];
|
||||
|
|
Loading…
Reference in New Issue