Trying to add lisp libraries

This commit is contained in:
nostoromo root 2020-11-23 14:22:51 -08:00
parent 0605314e07
commit f85d8c3ef7
2 changed files with 46 additions and 5 deletions

View File

@ -9,6 +9,7 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dnsproxy dnsproxy
fudoLispPackages.cl-sasl
google-photos-uploader google-photos-uploader
libguestfs-with-appliance libguestfs-with-appliance
libvirt libvirt
@ -51,11 +52,31 @@ in {
enable = true; enable = true;
}; };
# systemd.network.networks.eno2 = {
# dhcpV6Config = {
# IPv6PrefixDelegation = "dhcpv6";
# PrefixDelegationHint = 60;
# };
# };
systemd.network.networks.eno2 = {
extraConfig = {
IPv6AcceptRA = true;
IPv6PrefixDelegation = "dhcpv6";
};
};
networking = { networking = {
hostName = hostname; hostName = hostname;
nameservers = [ host-internal-ip ]; nameservers = [ host-internal-ip ];
dhcpcd.extraConfig = ''
interface eno2
ia_na 1
ia_pd 2 eno2/0
'';
# Create a bridge for VMs to use # Create a bridge for VMs to use
macvlans = { macvlans = {
intif0 = { intif0 = {
@ -73,7 +94,9 @@ in {
enp9s0f0.useDHCP = false; enp9s0f0.useDHCP = false;
enp9s0f1.useDHCP = false; enp9s0f1.useDHCP = false;
eno2.useDHCP = true; eno2 = {
useDHCP = true;
};
intif0 = { intif0 = {
useDHCP = false; useDHCP = false;
@ -104,6 +127,15 @@ in {
isSystemUser = true; isSystemUser = true;
}; };
}; };
groups = {
backplane-powerdns = {
members = [ "backplane-powerdns" ];
};
backplane-dns = {
members = [ "backplane-dns" ];
};
};
}; };
fudo = { fudo = {
@ -172,8 +204,6 @@ in {
}; };
services = { services = {
# dhcpd6.enable = true;
nginx = { nginx = {
enable = true; enable = true;

View File

@ -1,7 +1,18 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ let
lispPackageRepo = builtins.fetchGit {
url = "https://git.fudo.org/fudo-public/lisp-packages.git";
};
in {
nixpkgs.config.packageOverrides = pkgs: rec { nixpkgs.config.packageOverrides = pkgs: rec {
fudoLispPackages = import "${lispPackageRepo}" {
unstablePkgs = import <nixos-unstable> {};
inherit lib;
};
letsencrypt-ca = import ./letsencrypt-ca.nix { letsencrypt-ca = import ./letsencrypt-ca.nix {
stdenv = pkgs.stdenv; stdenv = pkgs.stdenv;
fetchurl = builtins.fetchurl; fetchurl = builtins.fetchurl;