Zoidberg auto login

This commit is contained in:
Zuckerberg 2023-10-15 19:22:51 -06:00
parent c1aef574b1
commit 2b50aeba93

View File

@ -32,6 +32,7 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
# ROCm
hardware.opengl.extraPackages = with pkgs; [ hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd rocm-opencl-icd
rocm-opencl-runtime rocm-opencl-runtime
@ -40,6 +41,7 @@
"L+ /opt/rocm/hip - - - - ${pkgs.hip}" "L+ /opt/rocm/hip - - - - ${pkgs.hip}"
]; ];
# System wide barrier instance
systemd.services.barrier-sddm = { systemd.services.barrier-sddm = {
description = "Barrier mouse/keyboard share"; description = "Barrier mouse/keyboard share";
requires = [ "display-manager.service" ]; requires = [ "display-manager.service" ];
@ -60,6 +62,9 @@
''; '';
}; };
# Login into X11 plasma so barrier works well
services.xserver.displayManager.defaultSession = "Plasma (X11)";
users.users.cris = { users.users.cris = {
isNormalUser = true; isNormalUser = true;
hashedPassword = "$y$j9T$LMGwHVauFWAcAyWSSmcuS/$BQpDyjDHZZbvj54.ijvNb03tr7IgX9wcjYCuCxjSqf6"; hashedPassword = "$y$j9T$LMGwHVauFWAcAyWSSmcuS/$BQpDyjDHZZbvj54.ijvNb03tr7IgX9wcjYCuCxjSqf6";
@ -73,7 +78,20 @@
# Dr. John A. Zoidberg # Dr. John A. Zoidberg
users.users.john = { users.users.john = {
isNormalUser = true; isNormalUser = true;
hashedPassword = ""; inherit (config.users.users.googlebot) hashedPassword packages;
uid = 1002; uid = 1002;
}; };
# Auto login into Plasma in john zoidberg account
# services.xserver.displayManager.sddm.settings = {
# Autologin = {
# Session = "Plasma (X11)";
# User = "john";
# };
# };
environment.systemPackages = with pkgs; [
jellyfin-media-player
config.services.xserver.desktopManager.kodi.package
];
} }