mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
Init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{ xlib, ... }:
|
||||
{
|
||||
disko.devices = {
|
||||
disk = {
|
||||
"${xlib.device.hostname}" = {
|
||||
device = "/dev/nvme0n1p4";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
extraArgs = [
|
||||
"-L ${xlib.device.hostname}" # Filesystem label
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user