machine/serverle: fix disko formatting file

This commit is contained in:
Felix Buehler 2023-11-04 13:03:19 +01:00
parent c958967e5b
commit 8f0a147cb3
2 changed files with 59 additions and 61 deletions

View file

@ -1,6 +1,7 @@
{ config, ... }:
{
imports = [
./disko-config.nix
./hardware-configuration.nix
./network.nix
./services.nix
@ -9,10 +10,6 @@
./wifi.nix
];
disko.devices = import ./disko-config.nix {
disks = [ "/dev/disk/by-id/usb-Seagate_Expansion_2HC015KJ-0:0" ];
};
networking.hostName = "serverle";
sops = {

View file

@ -1,9 +1,9 @@
{ disks ? [ "/dev/sda" ], ... }:
{
disko.devices = {
disk = {
vdb = {
type = "disk";
device = builtins.head disks;
device = "/dev/disk/by-id/usb-Seagate_Expansion_2HC015KJ-0:0";
content = {
type = "gpt";
partitions = {
@ -71,4 +71,5 @@
};
};
};
};
}