remove container support from thinkpad
This commit is contained in:
parent
3a0edac987
commit
8f12137939
2 changed files with 2 additions and 20 deletions
|
|
@ -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
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -3,10 +3,8 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./containers.nix # Host-specific container definitions
|
|
||||||
../system-default.nix # Common NixOS system configuration
|
../system-default.nix # Common NixOS system configuration
|
||||||
../../../modules/wireguard.nix
|
../../../modules/wireguard.nix
|
||||||
../../../modules/podman.nix
|
|
||||||
../../../modules/login-display.nix
|
../../../modules/login-display.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -45,7 +43,6 @@
|
||||||
# Graphics configuration
|
# Graphics configuration
|
||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||||
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but sometimes works better)
|
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but sometimes works better)
|
||||||
|
|
@ -85,7 +82,6 @@
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# GNOME Desktop Environment
|
# GNOME Desktop Environment
|
||||||
|
|
@ -186,8 +182,8 @@
|
||||||
# Suspend behavior configuration
|
# Suspend behavior configuration
|
||||||
services.logind.settings = {
|
services.logind.settings = {
|
||||||
Login = {
|
Login = {
|
||||||
HandleLidSwitch = "suspend"; # Suspend on lid close (battery only)
|
HandleLidSwitch = "suspend"; # Suspend on lid close (all power modes)
|
||||||
HandleLidSwitchDocked = "ignore";
|
HandleLidSwitchDocked = "ignore"; # Don't suspend when docked
|
||||||
HandleLidSwitchExternalPower = "suspend";
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
HandlePowerKey = "suspend"; # Suspend on power button press
|
HandlePowerKey = "suspend"; # Suspend on power button press
|
||||||
HandleSuspendKey = "suspend"; # Allow manual suspend from GNOME menu
|
HandleSuspendKey = "suspend"; # Allow manual suspend from GNOME menu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue