2024-07-16 20:17:55 +00:00
|
|
|
{ lib, config, ... }:
|
2024-07-07 23:47:23 +00:00
|
|
|
let
|
2024-09-03 21:10:35 +00:00
|
|
|
fs = import ../../../../lib/modules/partition/fs.nix;
|
2024-07-07 23:47:23 +00:00
|
|
|
in {
|
|
|
|
imports = [
|
2024-09-03 21:10:35 +00:00
|
|
|
../defaults.nix
|
2024-07-07 23:47:23 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2024-07-11 17:31:50 +00:00
|
|
|
valhalla = {
|
|
|
|
partition = {
|
|
|
|
os = {
|
|
|
|
partitions = {
|
|
|
|
Boot = {
|
|
|
|
index = 1;
|
|
|
|
type = "uefi";
|
|
|
|
size = "+1G";
|
|
|
|
format = fs.fat32;
|
2024-07-16 20:17:55 +00:00
|
|
|
mountPoint = config.valhalla.boot.efiMountPoint;
|
2024-07-11 17:31:50 +00:00
|
|
|
};
|
2024-07-07 23:47:23 +00:00
|
|
|
|
2024-07-11 17:31:50 +00:00
|
|
|
Swap = {
|
|
|
|
index = 2;
|
|
|
|
type = "swap";
|
|
|
|
};
|
2024-07-07 23:47:23 +00:00
|
|
|
|
2024-07-11 17:31:50 +00:00
|
|
|
OS = {
|
|
|
|
index = 3;
|
2024-07-16 20:17:55 +00:00
|
|
|
label = lib.mkDefault config.valhalla.boot.label;
|
2024-07-11 17:31:50 +00:00
|
|
|
type = "linux";
|
|
|
|
format = fs.ext4;
|
|
|
|
mountPoint = "/";
|
|
|
|
};
|
2024-07-07 23:47:23 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-07-08 00:50:50 +00:00
|
|
|
|
2024-07-11 19:58:46 +00:00
|
|
|
timeZone = "Europe/Zurich";
|
2024-07-11 20:05:36 +00:00
|
|
|
keyMap = "de_CH-latin1";
|
2024-07-11 20:10:57 +00:00
|
|
|
keyboardLayout = "ch";
|
2024-07-11 19:58:46 +00:00
|
|
|
|
2024-07-11 17:31:50 +00:00
|
|
|
i18n = {
|
|
|
|
localeSettings =
|
|
|
|
let defaultLocale = "en_US.UTF-8";
|
|
|
|
in {
|
|
|
|
LANG = "de_CH.UTF-8";
|
|
|
|
LANGUAGE = defaultLocale;
|
|
|
|
LC_MESSAGE = defaultLocale;
|
|
|
|
};
|
|
|
|
};
|
2024-07-15 18:24:59 +00:00
|
|
|
|
|
|
|
git =
|
|
|
|
let
|
|
|
|
defaultBranch = "main";
|
|
|
|
in {
|
|
|
|
inherit defaultBranch;
|
|
|
|
|
|
|
|
flow = {
|
|
|
|
mainBranch = defaultBranch;
|
|
|
|
devBranch = "dev";
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases = {
|
|
|
|
ahfange = "init";
|
|
|
|
tuedezue = "add";
|
|
|
|
beschuldig = "blame";
|
|
|
|
zieh = "pull";
|
|
|
|
druck = "push";
|
|
|
|
machnah = "clone";
|
|
|
|
hol = "fetch";
|
|
|
|
zwiigab = "branch";
|
|
|
|
buechiih = "commit";
|
|
|
|
eich = "rebase";
|
|
|
|
erd = "rebase";
|
|
|
|
gahufwiifelde = "rebase";
|
|
|
|
vergliich = "diff";
|
|
|
|
tuezemme = "merge";
|
|
|
|
versorg = "stash";
|
|
|
|
markier = "tag";
|
|
|
|
pflueckoepfel = "cherry-pick";
|
|
|
|
pflueckhimbeeri = "cherry-pick";
|
|
|
|
buechuus = "checkout";
|
|
|
|
quaetsch = "merge --squash";
|
|
|
|
pfudle = "push --force";
|
|
|
|
beschuldigung = "blame";
|
|
|
|
zwiigli = "branch";
|
|
|
|
tagebuech = "log";
|
|
|
|
versteck = "stash";
|
|
|
|
zuestand = "status";
|
|
|
|
markierig = "tag";
|
|
|
|
};
|
|
|
|
};
|
2024-07-08 00:50:50 +00:00
|
|
|
};
|
2024-07-07 23:47:23 +00:00
|
|
|
};
|
|
|
|
}
|