refactor: rename vps host -> neptun (solar-system theme)
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.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{ ... }:
|
||||
|
||||
# Declarative disk layout (disko) for the netcup VPS.
|
||||
# UEFI: GPT with an ESP + ext4 root on the single virtio disk.
|
||||
#
|
||||
# ⚠️ /dev/vda is WIPED on install — this destroys everything currently on the
|
||||
# VPS (docker containers, data, existing caddy config). Back up / port your
|
||||
# services into NixOS BEFORE running nixos-anywhere.
|
||||
{
|
||||
disko.devices.disk.vps = {
|
||||
type = "disk";
|
||||
device = "/dev/vda"; # netcup virtio disk (256G)
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
size = "512M";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user