feat: init
Some checks failed
CI / check (push) Has been cancelled
CI / deploy (push) Has been cancelled

This commit is contained in:
Jet 2026-03-17 04:07:14 -07:00
commit 8cfede9f57
No known key found for this signature in database
28 changed files with 2129 additions and 0 deletions

21
hosts/wiki/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "wiki";
networking.domain = "noisebridge.net";
# VPS typically uses DHCP — override with static IP if needed
networking.useDHCP = true;
# networking.interfaces.ens3 = {
# ipv4.addresses = [{ address = "TODO"; prefixLength = 24; }];
# };
# networking.defaultGateway = { address = "TODO"; interface = "ens3"; };
system.stateVersion = "24.11";
}

View file

@ -0,0 +1,15 @@
# Replace with output of `nixos-generate-config --show-hardware-config`
# after installing on the actual VPS.
{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [
"virtio_pci"
"virtio_scsi"
"ahci"
"sd_mod"
];
}