work some on getting nebula networking setup

This commit is contained in:
TheWanderingCrow 2025-07-23 21:31:44 -04:00
parent 47295730c9
commit 29786ab170
3 changed files with 66 additions and 9 deletions

View file

@ -18,10 +18,10 @@
- `nixos` - machine specific configurations for NixOS-based hosts - `nixos` - machine specific configurations for NixOS-based hosts
- `Parzival` - Primary Box - Ryzen 5 7600 - RX 7800 XT - 32GB DDR5 - `Parzival` - Primary Box - Ryzen 5 7600 - RX 7800 XT - 32GB DDR5
- `Incarceron` - Work issued framework 13 - AMD Ryzen 7 7840U - 32GB DDR5 - `Incarceron` - Work issued framework 13 - AMD Ryzen 7 7840U - 32GB DDR5
- `Nyx` - My X1 Carbon, personal laptop
- `HandlerOne` - Lenovo m710q - i5-7500T - 16GB DDR4 - `HandlerOne` - Lenovo m710q - i5-7500T - 16GB DDR4
- `Dragneel` - Partner's Box - AMD Ryzen 5 3600 - RTX 2070 - 32GB - DDR4 - `Mote` - Some dinky little datto appliance that does my bidding now
- `Bulwark` - Forensics and RE VM - `Michishirube` - Nebula lighthouse node hosted on Digital Ocean
- `Infiltrator` - Pentesting VM
- `droid` - nix-on-droid configurations - `droid` - nix-on-droid configurations
- `home/<user>` - Home-manager configurations, built automatically during host - `home/<user>` - Home-manager configurations, built automatically during host
rebuilds. rebuilds.

View file

@ -0,0 +1,57 @@
#############################
# #
# Michishirube - Lighthouse #
# #
#############################
{
inputs,
lib,
pkgs,
...
}: {
imports = lib.flatten [
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
{
_module.args = {
disk = "/dev/sda";
withSwap = true;
swapSize = "8";
};
}
# Misc
(map lib.custom.relativeToRoot [
# Required configs
"hosts/common/core"
# Optional configs
])
];
services.octoprint = {
enable = true;
openFirewall = true;
port = 5000;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hostSpec = {
hostName = "Michishirube";
};
networking = {
networkmanager.enable = true;
enableIPv6 = false;
};
boot.loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
};
};
}

View file

@ -1,8 +1,8 @@
########################## #########################
# # # #
# Datto - OctoPrint Node # # Mote - OctoPrint Node #
# # # #
########################## #########################
{ {
inputs, inputs,
lib, lib,
@ -40,7 +40,7 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hostSpec = { hostSpec = {
hostName = "Datto"; hostName = "Mote";
persistFolder = "/persist"; persistFolder = "/persist";
}; };