fixes for nutboy

This commit is contained in:
niten 2021-11-13 11:13:38 -08:00
parent d7ee19dd2f
commit c747746eee
4 changed files with 24 additions and 18 deletions

View File

@ -4,11 +4,16 @@ with lib; {
boot = { boot = {
initrd = { initrd = {
availableKernelModules = [ availableKernelModules = [
FIXME "ehci_pci"
"ahci"
"isci"
"usbhid"
"usb_storage"
"sd_mod"
]; ];
kernelModules = [ "dm-snapshot" ]; kernelModules = [ "dm-snapshot" ];
}; };
kernelModules = [ FIXME ]; kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ]; extraModulePackages = [ ];
loader.grub = { loader.grub = {
enable = true; enable = true;

View File

@ -28,12 +28,12 @@ in {
secret-paths = [ "/state/secrets" ]; secret-paths = [ "/state/secrets" ];
}; };
systemd.tmpfiles.rules = [ # systemd.tmpfiles.rules = [
"L /root/.gnupg - - - - /state/root/gnupg" # "L /root/.gnupg - - - - /state/root/gnupg"
"L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa" # "L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa"
"L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub" # "L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub"
"L /root/.ssh/known_hosts - - - - /state/root/ssh/known_hosts" # "L /root/.ssh/known_hosts - - - - /state/root/ssh/known_hosts"
]; # ];
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [

View File

@ -3,22 +3,22 @@
rp = "reaper"; rp = "reaper";
admin-email = "reaper@fudo.org"; admin-email = "reaper@fudo.org";
domain = "fudo.org"; domain = "fudo.org";
site = "pioneer"; site = "nuttyclub";
profile = "server"; profile = "server";
enable-gui = false; enable-gui = false;
arch = "x86_64-linux"; arch = "x86_64-linux";
nixos-system = true; nixos-system = true;
machine-id = "d608fb62dc1e493a9a0ebf173ab255b2"; machine-id = "d608fb62dc1e493a9a0ebf173ab255b2";
master-key = { master-key = {
public-key = FIXME; public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP+ERn09oMqk3jpgXVFWMGv7uYz0fRLVtz5BHZtOXfA0";
key-path = "/state/master-key/ed25519_key"; key-path = "/state/master-key/ed25519_key";
}; };
# initrd-network = { initrd-network = {
# ip = "172.86.179.18"; ip = "199.87.154.175";
# interface = "enp0s25"; interface = "eno1";
# keypair = { keypair = {
# public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIgvl/pxPGN5XuUFsEywHV/PJMI+wPHA6NKTtE8SZC04"; public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINPj/4DezCd6uA2IeSr4Y3hxy3gNhT/GJwA40LHlns5w";
# private-key-file = "/state/ssh/initrd/ssh_ed25519_key"; private-key-file = "/state/ssh/initrd/ssh_ed25519_key";
# }; };
# }; };
} }

View File

@ -158,6 +158,7 @@
lsbb-abg = { ipv4-address = "199.101.56.38"; }; lsbb-abg = { ipv4-address = "199.101.56.38"; };
lsbb-hwd = { ipv4-address = "199.101.56.106"; }; lsbb-hwd = { ipv4-address = "199.101.56.106"; };
lsbb-hcl = { ipv4-address = "199.101.56.110"; }; lsbb-hcl = { ipv4-address = "199.101.56.110"; };
nutboy3 = { ipv4-address = "199.87.154.175"; };
procul = { ipv4-address = "172.86.179.18"; }; procul = { ipv4-address = "172.86.179.18"; };
prunel = { ipv4-address = "208.81.3.123"; }; prunel = { ipv4-address = "208.81.3.123"; };
mbix = { ipv4-address = "208.81.7.146"; }; mbix = { ipv4-address = "208.81.7.146"; };