initial commit
This commit is contained in:
20
modules/core/boot.nix
Normal file
20
modules/core/boot.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ pkgs, pkgs-unstable, config, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
# Use standard LTS kernel — lighter for older laptops than zen
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
# Appimage Support
|
||||
binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
plymouth.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user