mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: flatten nixos configuration
This commit is contained in:
parent
a76e6db283
commit
e67635a84e
3 changed files with 27 additions and 28 deletions
33
nix/configurations/vanadium/nixos/misc.nix
Normal file
33
nix/configurations/vanadium/nixos/misc.nix
Normal 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}";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue