mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
made dummy option for deadnix to shutup about disko update flake.lock stopped using neovim overlay
43 lines
952 B
Nix
43 lines
952 B
Nix
{
|
|
inputs,
|
|
disks ? [],
|
|
...
|
|
}: {
|
|
dummyvalue = {inherit disks;};
|
|
imports = [inputs.disko.nixosModules.disko];
|
|
disko.devices = {
|
|
disk.sda = {
|
|
device = "/dev/disk/by-id/ata-WDC_WDS240G2G0A-00JH30_180936803144";
|
|
type = "disk";
|
|
content = {
|
|
type = "table";
|
|
format = "gpt";
|
|
partitions = [
|
|
{
|
|
name = "ESP";
|
|
start = "1MiB";
|
|
end = "1GiB";
|
|
bootable = true;
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/boot";
|
|
};
|
|
}
|
|
{
|
|
name = "root";
|
|
start = "1GiB";
|
|
end = "100%";
|
|
part-type = "primary";
|
|
bootable = true;
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|