1

System: Use LTS kernel as default for all hosts

This commit is contained in:
2025-11-07 13:30:09 +01:00
parent 2c44e6cee2
commit 9d96d54d48
3 changed files with 26 additions and 19 deletions

View File

@ -143,7 +143,7 @@ with mylib.networking; {
# Bootloader/Kernel stuff
boot = {
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
kernelPackages = lib.mkDefault pkgs.linuxPackages;
kernelParams = ["mitigations=off"]; # I don't care
# Make /tmp volatile

View File

@ -104,7 +104,8 @@
};
boot = {
# kernelPackages = pkgs.linuxPackages_zen;
kernelPackages = pkgs.linuxPackages_zen;
# kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
# kernelParams = [ "quiet" ];
# plymouth.enable = true;

View File

@ -35,6 +35,10 @@
"vfat"
];
supportedFilesystems = [
# "zfs" # Probably requires LTS kernel + networking.hostId
];
kernelModules = [
"kvm-amd"
"sg" # Blu-Ray drive
@ -60,6 +64,9 @@
];
};
# Required for supportedFilesystems = ["zfs"];, so pools don't get imported on the wrong machine
# networking.hostId = "611e6afb";
fileSystems = {
# NOTE: Some filesystems are managed by disko (see ./disks.nix)
@ -82,23 +89,22 @@
# Using NFS over TCP or increasing the value of the retrans option may mitigate
# some of the risks of using the soft option.
"/home/${username}/Movies" = {
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Movie";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
};
"/home/${username}/Shows" = {
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Show";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
};
"/home/${username}/Music" = {
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music";
fsType = "nfs";
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
};
# TODO: New HDDs
# "/home/${username}/Movies" = {
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Movie";
# fsType = "nfs";
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
# };
# "/home/${username}/Shows" = {
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Show";
# fsType = "nfs";
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
# };
# "/home/${username}/Music" = {
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music";
# fsType = "nfs";
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
# };
"/home/${username}/Restic" = {
device = "192.168.86.15:/volume1/NixinatorPersistence";