Add Hydra binary cache to common config
This commit is contained in:
parent
feb1b78310
commit
64f2d42a11
|
@ -1,11 +1,18 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [./common.nix];
|
imports = [ ./common.nix ];
|
||||||
|
|
||||||
networking = {
|
users.motd = builtins.readFile ./motd;
|
||||||
domain = "hq.c3d2.de";
|
|
||||||
defaultGateway.address = "172.22.99.1";
|
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, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.motd = builtins.readFile ./motd;
|
|
||||||
|
|
||||||
users.users.k-ot = {
|
users.users.k-ot = {
|
||||||
packages = with pkgs;
|
packages = with pkgs;
|
||||||
[ screen tmux ];
|
[ screen tmux ];
|
||||||
|
|
Loading…
Reference in New Issue