This commit is contained in:
Daniel Langbein 2025-02-15 23:37:39 +01:00
parent d3fc85eb35
commit c91ff0b5e7
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
8 changed files with 28 additions and 16 deletions

View File

@ -43,7 +43,11 @@
# Note: dualstack lite -> No A record for that subdomain!
yoda.netcup-dns = ../../secrets/netcup-dns-hedgehog.json;
boot.kernelParams = [];
boot.kernelParams = [
# If the CPU is vulnerable, enable all available mitigations
# except `nosmt` as we don't run any VMs on this machine.
"mds=full"
];
boot.kernelPackages = pkgs.linuxPackages;
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.

View File

@ -48,6 +48,8 @@
yoda.netcup-dns = ../../secrets/netcup-dns-nas.json;
boot.kernelParams = [
# If the CPU is vulnerable, enable all available mitigations.
#
# Microarchitectural Data Sampling (MDS), see https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html#mitigation-control-on-the-kernel-command-line
"mds=full,nosmt"
];

View File

@ -35,7 +35,7 @@
../../modules/uni-vpn.nix
#../../modules/epa.nix
../../modules/autostart.nix
#../../modules/autostart.nix
#
# Development
@ -50,11 +50,6 @@
#../../modules/vscodium.nix
#../../modules/android.nix
#../../modules/pmbootstrap.nix
#../../modules/boxes.nix
#../../modules/virtualbox.nix
../../modules/docker.nix
#../../modules/docker-pushrm.nix
];
networking.hostName = "yodaTab";
@ -73,6 +68,11 @@
# Motivation behind bare bones systemd-based initrd: https://github.com/NixOS/nixpkgs/pull/164943
#boot.initrd.systemd.enable = true;
boot.kernelParams = [
# If the CPU is vulnerable, enable all available mitigations
# except `nosmt` as we don't run any VMs on this machine.
"mds=full"
];
boot.kernelPackages = pkgs.linuxPackages_latest;
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.

View File

@ -5,9 +5,16 @@
yoda.btrfsFileSystems = ["/"];
#yoda.btrfsMounts = yoda.btrfsFileSystems;
boot.kernelParams = [
# If the CPU is vulnerable, enable all available mitigations.
#
# Microarchitectural Data Sampling (MDS), see https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html#mitigation-control-on-the-kernel-command-line
"mds=full,nosmt"
# Systemd Journal entry:
# S Sat Sep 23 16:11:52 2023 p4 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
boot.kernelParams = [ "tsc=unstable" ];
# TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
#"tsc=unstable"
];
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
system.stateVersion = "23.05";

View File

@ -1,8 +1,8 @@
{ config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
./host-specific.nix
../yodaTux/hardware-configuration.nix
../yodaTux/host-specific.nix
#../../modules/tuxedo-rs.nix
#../../modules/gpu-amd.nix

View File

@ -1 +0,0 @@
../yodaTux/hardware-configuration.nix

View File

@ -1 +0,0 @@
../yodaTux/host-specific.nix

View File

@ -26,8 +26,9 @@
#yoda.btrfsMounts = yoda.btrfsFileSystems;
boot.kernelParams = [
# Microarchitectural Data Sampling (MDS), see https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html#mitigation-control-on-the-kernel-command-line
"mds=full,nosmt"
# If the CPU is vulnerable, enable all available mitigations
# except `nosmt` as we don't run any VMs on this machine.
"mds=full"
];
boot.kernelPackages = pkgs.linuxPackages;