Compare commits

..

2 Commits

Author SHA1 Message Date
7600f9da0c Switch from systemd-boot to Limine bootloader 2025-09-28 10:37:48 +02:00
a46850ebfb Update hardware config. 2025-09-28 09:51:19 +02:00
3 changed files with 56 additions and 21 deletions

View File

@@ -4,34 +4,54 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }:
{
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci"]; boot = {
boot.initrd.kernelModules = []; initrd = {
boot.kernelModules = ["kvm-amd"]; availableKernelModules = [
boot.extraModulePackages = []; "nvme"
"xhci_pci"
fileSystems."/" = { "usb_storage"
device = "/dev/disk/by-uuid/a96dc5a2-e2bf-4725-a7be-6b9d2b020fa6"; "sd_mod"
fsType = "ext4"; ];
kernelModules = [ "dm-snapshot" ];
luks.devices.cryptroot = {
device = "/dev/disk/by-uuid/6abc2228-823e-42b0-94c7-48fda757732c";
preLVM = true;
};
};
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
}; };
boot.initrd.luks.devices."luks-9b24a6b5-14e7-4e50-bd1d-c1af7382027c".device = "/dev/disk/by-uuid/9b24a6b5-14e7-4e50-bd1d-c1af7382027c"; fileSystems = {
"/" = {
fileSystems."/boot" = { device = "/dev/disk/by-uuid/d30939d0-53ed-4728-9190-6a5b9dec8fb4";
device = "/dev/disk/by-uuid/3D12-F697"; fsType = "ext4";
fsType = "vfat"; };
options = ["fmask=0077" "dmask=0077"]; "/home" = {
device = "/dev/disk/by-uuid/3df34a25-7e42-433d-b723-be80f1738ba5";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/0E68-9A34";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
}; };
swapDevices = [ swapDevices = [
{device = "/dev/disk/by-uuid/f1c0ee39-01a9-4508-916a-978650d6c514";} { device = "/dev/disk/by-uuid/5da7c845-7dd3-4882-93af-2d679cdb5e7a"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@@ -88,8 +88,8 @@
# animations-end4.nix (end-4 project very fluid) # animations-end4.nix (end-4 project very fluid)
# animations-dynamic.nix (ml4w project) # animations-dynamic.nix (ml4w project)
# animations-moving.nix (ml4w project) # animations-moving.nix (ml4w project)
animChoice = ../../modules/home/hyprland/animations-def.nix; # animChoice = ../../modules/home/hyprland/animations-def.nix;
#animChoice = ../../modules/home/hyprland/animations-end4.nix; animChoice = ../../modules/home/hyprland/animations-end4.nix;
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix; #animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
#animChoice = ../../modules/home/hyprland/animations-moving.nix; #animChoice = ../../modules/home/hyprland/animations-moving.nix;

View File

@@ -8,8 +8,23 @@
kernel.sysctl = { kernel.sysctl = {
"vm.max_map_count" = 2147483642; "vm.max_map_count" = 2147483642;
}; };
loader.systemd-boot.enable = true; loader = {
loader.efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
limine = {
enable = true;
style = {
wallpapers = [
./../../wallpapers/attack-on-titan-mikasa-ackerman.jpg
];
wallpaperStyle = "centered";
backdrop = "${config.stylix.base16Scheme.base00}";
interface = {
branding = "GarandOS Bootloader";
resolution = "1920x1080";
};
};
};
};
# Appimage Support # Appimage Support
binfmt.registrations.appimage = { binfmt.registrations.appimage = {
wrapInterpreterInShell = false; wrapInterpreterInShell = false;