Compare commits

...

2 Commits

Author SHA1 Message Date
8ba08ce982 Zoidberg move /boot device
Some checks failed
Check Flake / check-flake (push) Failing after 6m57s
2023-10-15 19:23:24 -06:00
2b50aeba93 Zoidberg auto login 2023-10-15 19:22:51 -06:00
2 changed files with 21 additions and 3 deletions

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
];
} }

View File

@ -25,7 +25,7 @@
# Fetch key from USB drive # Fetch key from USB drive
keyFileSize = 4096; keyFileSize = 4096;
keyFile = "/dev/disk/by-id/usb-Mass_Storage_Device_121220160204-0:0"; keyFile = "/dev/disk/by-id/usb-Mass_Storage_Device_121220160204-0:0-part2";
fallbackToPassword = true; fallbackToPassword = true;
}; };
fileSystems."/" = fileSystems."/" =
@ -35,7 +35,7 @@
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ {
device = "/dev/disk/by-uuid/954B-AB3E"; device = "/dev/disk/by-uuid/8074-B04D";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =