vanadium: flatten nixos configuration

This commit is contained in:
Primrose 2025-04-07 15:59:12 +02:00
parent a76e6db283
commit e67635a84e
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 27 additions and 28 deletions

View file

@ -0,0 +1,33 @@
{pkgs, ...}: {
system.stateVersion = "24.05";
boot.loader = {
systemd-boot = {
enable = true;
editor = false;
};
efi.canTouchEfiVariables = true;
};
boot.kernelPackages = pkgs.linuxPackages_6_12;
boot.kernelParams = [
# https://community.frame.work/t/stability-issues-random-crashes-reboots-and-boot-freezes/62675/4
"pcie_aspm=off"
];
age.secrets = {
wpa_password.file = "${../../../secrets/wpa_password.age}";
restic_backblaze_pwd.file = "${../../../secrets/restic_backblaze_pwd.age}";
restic_backblaze_repo.file = "${../../../secrets/restic_backblaze_repo.age}";
restic_backblaze_env.file = "${../../../secrets/restic_backblaze_env.age}";
four_pwd.file = "${../../../secrets/four_pwd.age}";
restic_four_pwd.file = "${../../../secrets/restic_four_pwd.age}";
sgbk_pwd.file = "${../../../secrets/sgbk_pwd.age}";
restic_sgbk_pwd.file = "${../../../secrets/restic_sgbk_pwd.age}";
two_pwd.file = "${../../../secrets/two_pwd.age}";
};
}