Skip to content

Commit

Permalink
refactor: switch default from latest to default nixpkgs kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsgirao committed Sep 19, 2024
1 parent 63f23e4 commit dbfa08a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions modules/core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ in
};
zramSwap.memoryPercent = 25;

# Note to future self:
# This used to be the latest kernel ZFS supported (there's a nix option for that),
# but on `vin` this broke Intel WiFi/bluetooth drivers when switched to kernel 6.10-gnu something (was 6.6.48)
# Now using default for current nixpkgs.
boot.kernelPackages = pkgs.linuxPackages;

# Nixinate options
deploy = {
enable = true;
Expand Down
2 changes: 0 additions & 2 deletions modules/hardware/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.devNodes = "/dev/disk/by-path";
boot.initrd.supportedFilesystems = [ "zfs" ];
#Use latest kernel + ZFS
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
virtualisation.docker.storageDriver = "zfs";

services.zfs.zed.settings = {
Expand Down

0 comments on commit dbfa08a

Please sign in to comment.