fix(host/cerithium-telescopium): couldn't ssh into kodi -.-

This commit is contained in:
Malte Tammena 2024-10-29 21:51:53 +01:00
parent d05ae51506
commit aaebd38441

View file

@ -10,7 +10,12 @@
networking.hostName = "cerithium-telescopium"; networking.hostName = "cerithium-telescopium";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
users.extraUsers.kodi.isNormalUser = true; users.users.kodi = {
isNormalUser = true;
openssh.authorizedKeys.keyFiles = [
../../secrets/pub/yubikey.pub
];
};
services.logind.extraConfig = "IdleAction=ignore"; services.logind.extraConfig = "IdleAction=ignore";
services.thermald.enable = true; services.thermald.enable = true;
@ -51,12 +56,6 @@
# between attempts to try to autologin again. # between attempts to try to autologin again.
services.xserver.displayManager.lightdm.autoLogin.timeout = 3; services.xserver.displayManager.lightdm.autoLogin.timeout = 3;
# services.cage = {
# enable = true;
# program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
# user = "kodi";
# };
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave