2024-07-07 23:47:23 +00:00
|
|
|
{ ... }:
|
|
|
|
let
|
|
|
|
fs = import ../../lib/modules/partition/fs.nix;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../../lib/modules/partition.nix
|
2024-07-08 00:50:50 +00:00
|
|
|
../../lib/modules/i18n.nix
|
2024-07-07 23:47:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
partition = {
|
|
|
|
os = {
|
|
|
|
partitions = {
|
|
|
|
Boot = {
|
|
|
|
index = 1;
|
|
|
|
type = "uefi";
|
|
|
|
size = "+1G";
|
|
|
|
format = fs.fat32;
|
|
|
|
mountPoint = "/boot";
|
|
|
|
};
|
|
|
|
|
|
|
|
Swap = {
|
|
|
|
index = 2;
|
|
|
|
type = "swap";
|
|
|
|
};
|
|
|
|
|
|
|
|
OS = {
|
|
|
|
index = 3;
|
|
|
|
type = "linux";
|
|
|
|
format = fs.ext4;
|
|
|
|
mountPoint = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-07-08 00:50:50 +00:00
|
|
|
|
|
|
|
i18n = {
|
|
|
|
localeSettings =
|
|
|
|
let defaultLocale = "en_US.UTF-8";
|
|
|
|
in {
|
|
|
|
LANG = "de_CH.UTF-8";
|
|
|
|
LANGUAGE = defaultLocale;
|
|
|
|
LC_MESSAGE = defaultLocale;
|
|
|
|
};
|
|
|
|
};
|
2024-07-07 23:47:23 +00:00
|
|
|
};
|
|
|
|
}
|