42 lines
834 B
Nix
42 lines
834 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [ inputs.disko.nixosModules.disko ];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
disko.devices.disk.main = {
|
|
type = "disk";
|
|
device = "/dev/nvme0n1";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
esp = {
|
|
size = "512M";
|
|
type = "EF00";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/boot";
|
|
};
|
|
};
|
|
root = {
|
|
size = "100%";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
localisation = {
|
|
timeZone = "Europe/Ljubljana";
|
|
defaultLocale = "en_US.UTF-8";
|
|
};
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|