Skip to content

Commit 6325971

Browse files
committed
1 parent 9e631e9 commit 6325971

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

modules/core/boot.nix

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
};
1212

1313
kernelParams = [
14-
#"zswap.enabled=1" # enables zswap
15-
#"zswap.compressor=lz4" # compression algorithm
16-
#"zswap.zpool=z3fold"
1714
"systemd.swap=0"
1815
];
1916

@@ -27,12 +24,12 @@
2724
"vm.max_map_count" = 2147483642;
2825
"kernel.sysrq" = 1; # REISUB
2926
};
27+
28+
extraModprobeConfig = ''
29+
options mt7921_common disable_clc=1
30+
'';
31+
3032
initrd = {
31-
#systemd.enable = true;
32-
#kernelModules = [
33-
# "lz4"
34-
# "z3fold"
35-
#];
3633
availableKernelModules = [
3734
"nvme"
3835
"xhci_pci"
@@ -41,6 +38,7 @@
4138
"sd_mod"
4239
];
4340
};
41+
4442
loader.limine = {
4543
enable = true;
4644
efiSupport = true;
@@ -52,6 +50,7 @@
5250
path: guid(d3a7820d-fcf3-4ad3-9468-d6481e4aee50):/EFI/Microsoft/Boot/bootmgfw.efi
5351
'';
5452
};
53+
5554
loader.efi.canTouchEfiVariables = true;
5655
plymouth.enable = true;
5756
};

overlay/default.nix

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,10 @@
4646
{
4747
mesonFlags = [ (prev.lib.mesonEnable "wallpaper" false) ];
4848
};
49-
50-
inherit (firmware) linux-firmware; # FIXME
51-
/*
52-
mt7921e wifi firmware broken with linux-firmware 20250918
53-
Related issue: https://gitlab.archlinux.org/archlinux/packaging/packages/linux-firmware/-/issues/29
54-
Posible upstream related commit: https://gitlab.com/kernel-firmware/linux-firmware/-/commit/4573c02ca0caf001c5ce5dbb62015d588258588b
55-
*/
5649
})
5750
inputs.rust-overlay.overlays.default
5851
inputs.ghostty.overlays.default
5952
inputs.prismlauncher.overlays.default
53+
inputs.zig.overlays.default
6054
];
6155
}

0 commit comments

Comments
 (0)