Move SIIT-DC to Hetzner
This commit is contained in:
parent
04d1047ada
commit
b570a298a2
2 changed files with 3 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ lib, modulesPath, ... }:
|
{ lib, modulesPath, ... }:
|
||||||
{
|
{
|
||||||
|
boot.loader.grub.devices = [ "/dev/sda" ];
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -5,26 +5,11 @@
|
||||||
device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "msdos";
|
||||||
partitions = {
|
partitions = {
|
||||||
boot = {
|
|
||||||
name = "boot";
|
|
||||||
type = "EF02";
|
|
||||||
size = "1M";
|
|
||||||
};
|
|
||||||
ESP = {
|
|
||||||
name = "ESP";
|
|
||||||
type = "EF00";
|
|
||||||
size = "512M";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "vfat";
|
|
||||||
mountpoint = "/boot";
|
|
||||||
mountOptions = [ "umask=0077" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
root = {
|
root = {
|
||||||
name = "nixos";
|
name = "nixos";
|
||||||
|
bootable = true;
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue