remove container support from thinkpad

This commit is contained in:
Yan Lin 2025-10-23 23:06:10 +02:00
parent 3a0edac987
commit 8f12137939
2 changed files with 2 additions and 20 deletions

View file

@ -1,14 +0,0 @@
{ config, pkgs, lib, ... }:
let
# Universal container configuration
commonUID = "1000";
commonGID = "100";
systemTZ = config.time.timeZone;
in
{
# Container definitions for thinkpad host
virtualisation.oci-containers.containers = {
# Add container definitions here as needed
};
}

View file

@ -3,10 +3,8 @@
{
imports = [
./hardware-configuration.nix
./containers.nix # Host-specific container definitions
../system-default.nix # Common NixOS system configuration
../../../modules/wireguard.nix
../../../modules/podman.nix
../../../modules/login-display.nix
];
@ -45,7 +43,6 @@
# Graphics configuration
graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but sometimes works better)
@ -85,7 +82,6 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
# GNOME Desktop Environment
@ -186,8 +182,8 @@
# Suspend behavior configuration
services.logind.settings = {
Login = {
HandleLidSwitch = "suspend"; # Suspend on lid close (battery only)
HandleLidSwitchDocked = "ignore";
HandleLidSwitch = "suspend"; # Suspend on lid close (all power modes)
HandleLidSwitchDocked = "ignore"; # Don't suspend when docked
HandleLidSwitchExternalPower = "suspend";
HandlePowerKey = "suspend"; # Suspend on power button press
HandleSuspendKey = "suspend"; # Allow manual suspend from GNOME menu