diff options
Diffstat (limited to 'hosts/station/boot.nix')
| -rw-r--r-- | hosts/station/boot.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hosts/station/boot.nix b/hosts/station/boot.nix new file mode 100644 index 0000000..603ebf7 --- /dev/null +++ b/hosts/station/boot.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ...}: + +{ + boot = { + loader = { + systemd-boot = { + enable = true; + # Only keep the last 10 configurations + configurationLimit = 10; + }; + efi.canTouchEfiVariables = true; + }; + + initrd = { + luks.devices."luks-4d8ffefc-fb74-4628-9779-abc535146374".device = "/dev/disk/by-uuid/4d8ffefc-fb74-4628-9779-abc535146374"; + + kernelModules = ["amdgpu"]; + }; + }; +} |
