From 07c422498ead1746552b0100cbff75630bf85534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 13 Feb 2025 16:00:48 +0100 Subject: [PATCH] Configure media1 host --- hosts/media1/configuration.nix | 3 ++- hosts/media1/kodi.nix | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hosts/media1/configuration.nix b/hosts/media1/configuration.nix index e80dc61..63b2ec5 100644 --- a/hosts/media1/configuration.nix +++ b/hosts/media1/configuration.nix @@ -17,6 +17,7 @@ loader.systemd-boot = { enable = true; configurationLimit = 5; + memtest86.enable = true; }; loader.efi.canTouchEfiVariables = true; supportedFilesystems = [ "nfs" ]; @@ -45,7 +46,7 @@ "10.69.12.82/24" ]; routes = [ - { Gateway = "10.69.31.1"; } + { Gateway = "10.69.12.1"; } ]; linkConfig.RequiredForOnline = "routable"; }; diff --git a/hosts/media1/kodi.nix b/hosts/media1/kodi.nix index 532a7e7..9d01f95 100644 --- a/hosts/media1/kodi.nix +++ b/hosts/media1/kodi.nix @@ -11,12 +11,15 @@ in isNormalUser = true; description = "Kodi Media Center user"; }; - services.xserver = { - enable = true; - }; + #services.xserver = { + # enable = true; + #}; services.cage = { enable = true; user = "kodi"; + environment = { + XKB_DEFAULT_LAYOUT = "no"; + }; program = "${kodipkg}/bin/kodi"; };