From c33a1b6c5039da140fe2a68300a8746ccbdf5baf Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 20 Jan 2025 22:50:44 -0500 Subject: [PATCH] Set up memtest86 on neelix. --- nix/configuration/roles/boot/default.nix | 2 ++ nix/configuration/roles/kodi/default.nix | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/nix/configuration/roles/boot/default.nix b/nix/configuration/roles/boot/default.nix index a75dfb1..3918e2f 100644 --- a/nix/configuration/roles/boot/default.nix +++ b/nix/configuration/roles/boot/default.nix @@ -41,6 +41,8 @@ # Automatically delete old generations boot.loader.systemd-boot.configurationLimit = 3; + boot.loader.systemd-boot.memtest86.enable = true; + # Check what will be lost with `zfs diff zroot/linux/root@blank` boot.initrd.systemd.enable = lib.mkDefault true; boot.initrd.systemd.services.zfs-rollback = { diff --git a/nix/configuration/roles/kodi/default.nix b/nix/configuration/roles/kodi/default.nix index 3661a1b..2018c3d 100644 --- a/nix/configuration/roles/kodi/default.nix +++ b/nix/configuration/roles/kodi/default.nix @@ -28,15 +28,16 @@ services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone"; services.cage.enable = true; - nixpkgs.overlays = [ - (final: prev: { - kodi-wayland = prev.kodi-wayland.withPackages ( - kodiPkgs: with kodiPkgs; [ - joystick - ] - ); - }) - ]; + # nixpkgs.overlays = [ + # (final: prev: { + # kodi-wayland = prev.kodi-wayland.withPackages ( + # kodiPkgs: with kodiPkgs; [ + # joystick + # vfs-sftp + # ] + # ); + # }) + # ]; users.users.kodi = { isNormalUser = true;