git-mv hosts/vps->neptun, secrets/vps.yaml->neptun.yaml; update flake, .sops.yaml rules, hostName, sops paths, README/CLAUDE. Off-repo host key dir renamed too.
24 lines
803 B
Nix
24 lines
803 B
Nix
# PLACEHOLDER — replace on install.
|
|
#
|
|
# disko (disk-config.nix) owns the filesystems, so this file only carries
|
|
# kernel modules + platform. nixos-anywhere regenerates it via:
|
|
# nixos-generate-config --no-filesystems
|
|
# Keep the imports/kernel-module lines; the virtio modules are pinned in
|
|
# configuration.nix so root mounts even if the generator misses them.
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
# NO fileSystems here — disko defines "/" and "/boot".
|
|
|
|
swapDevices = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|