System: Use LTS kernel as default for all hosts
This commit is contained in:
@ -143,7 +143,7 @@ with mylib.networking; {
|
|||||||
|
|
||||||
# Bootloader/Kernel stuff
|
# Bootloader/Kernel stuff
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
kernelPackages = lib.mkDefault pkgs.linuxPackages;
|
||||||
kernelParams = ["mitigations=off"]; # I don't care
|
kernelParams = ["mitigations=off"]; # I don't care
|
||||||
|
|
||||||
# Make /tmp volatile
|
# Make /tmp volatile
|
||||||
|
|||||||
@ -104,7 +104,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# kernelPackages = pkgs.linuxPackages_zen;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
# kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
# kernelParams = [ "quiet" ];
|
# kernelParams = [ "quiet" ];
|
||||||
# plymouth.enable = true;
|
# plymouth.enable = true;
|
||||||
|
|||||||
@ -35,6 +35,10 @@
|
|||||||
"vfat"
|
"vfat"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
supportedFilesystems = [
|
||||||
|
# "zfs" # Probably requires LTS kernel + networking.hostId
|
||||||
|
];
|
||||||
|
|
||||||
kernelModules = [
|
kernelModules = [
|
||||||
"kvm-amd"
|
"kvm-amd"
|
||||||
"sg" # Blu-Ray drive
|
"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 = {
|
fileSystems = {
|
||||||
# NOTE: Some filesystems are managed by disko (see ./disks.nix)
|
# 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
|
# Using NFS over TCP or increasing the value of the retrans option may mitigate
|
||||||
# some of the risks of using the soft option.
|
# some of the risks of using the soft option.
|
||||||
|
|
||||||
"/home/${username}/Movies" = {
|
# TODO: New HDDs
|
||||||
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Movie";
|
# "/home/${username}/Movies" = {
|
||||||
fsType = "nfs";
|
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Movie";
|
||||||
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
# fsType = "nfs";
|
||||||
};
|
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
||||||
|
# };
|
||||||
"/home/${username}/Shows" = {
|
# "/home/${username}/Shows" = {
|
||||||
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Show";
|
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Show";
|
||||||
fsType = "nfs";
|
# fsType = "nfs";
|
||||||
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
||||||
};
|
# };
|
||||||
|
# "/home/${username}/Music" = {
|
||||||
"/home/${username}/Music" = {
|
# device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music";
|
||||||
device = "192.168.86.20:/mnt/SG Exos Mirror 18TB/Music";
|
# fsType = "nfs";
|
||||||
fsType = "nfs";
|
# options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
||||||
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
# };
|
||||||
};
|
|
||||||
|
|
||||||
"/home/${username}/Restic" = {
|
"/home/${username}/Restic" = {
|
||||||
device = "192.168.86.15:/volume1/NixinatorPersistence";
|
device = "192.168.86.15:/volume1/NixinatorPersistence";
|
||||||
|
|||||||
Reference in New Issue
Block a user