mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
disable disko for now
This commit is contained in:
@@ -2,38 +2,17 @@
|
|||||||
flake.nixosModules.disks-sys-singledisk-deck = { inputs, ... }: {
|
flake.nixosModules.disks-sys-singledisk-deck = { inputs, ... }: {
|
||||||
imports = [ inputs.disko.nixosModules.disko ];
|
imports = [ inputs.disko.nixosModules.disko ];
|
||||||
|
|
||||||
disko.devices = {
|
disko.enableConfig = false;
|
||||||
disk = {
|
|
||||||
main = {
|
fileSystems."/" = {
|
||||||
type = "disk";
|
device = "/dev/disk/by-label/root";
|
||||||
device = "/dev/nvme0n1";
|
fsType = "xfs";
|
||||||
content = {
|
|
||||||
type = "gpt";
|
|
||||||
partitions = {
|
|
||||||
ESP = {
|
|
||||||
size = "512M";
|
|
||||||
type = "EF00";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "vfat";
|
|
||||||
mountpoint = "/boot";
|
|
||||||
mountOptions = [ "fmask=0077" "dmask=0077" ];
|
|
||||||
extraArgs = [ "-n" "boot" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
root = {
|
|
||||||
size = "100%";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "xfs";
|
|
||||||
mountpoint = "/";
|
|
||||||
extraArgs = [ "-L" "root" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-label/boot";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [{
|
swapDevices = [{
|
||||||
|
|||||||
Reference in New Issue
Block a user