diff --git a/README.md b/README.md index a7673fb..37b5c4d 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ - `nixos` - machine specific configurations for NixOS-based hosts - `Parzival` - Primary Box - Ryzen 5 7600 - RX 7800 XT - 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 - - `Dragneel` - Partner's Box - AMD Ryzen 5 3600 - RTX 2070 - 32GB - DDR4 - - `Bulwark` - Forensics and RE VM - - `Infiltrator` - Pentesting VM + - `Mote` - Some dinky little datto appliance that does my bidding now + - `Michishirube` - Nebula lighthouse node hosted on Digital Ocean - `droid` - nix-on-droid configurations - `home/` - Home-manager configurations, built automatically during host rebuilds. diff --git a/hosts/nixos/Michishirube/default.nix b/hosts/nixos/Michishirube/default.nix new file mode 100644 index 0000000..2234760 --- /dev/null +++ b/hosts/nixos/Michishirube/default.nix @@ -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; + }; + }; +} diff --git a/hosts/nixos/Datto/default.nix b/hosts/nixos/Mote/default.nix similarity index 83% rename from hosts/nixos/Datto/default.nix rename to hosts/nixos/Mote/default.nix index 570238c..20bbf1f 100644 --- a/hosts/nixos/Datto/default.nix +++ b/hosts/nixos/Mote/default.nix @@ -1,8 +1,8 @@ -########################## -# # -# Datto - OctoPrint Node # -# # -########################## +######################### +# # +# Mote - OctoPrint Node # +# # +######################### { inputs, lib, @@ -40,7 +40,7 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hostSpec = { - hostName = "Datto"; + hostName = "Mote"; persistFolder = "/persist"; };