fix: comment out GNOME autostart to prevent USB boot hangs
- Comment out hardware.enableAllFirmware and boot.kernelPackages settings - Comment out GNOME autostart desktop file to prevent boot hangs - Keep hardware.enableRedistributableFirmware enabled for WiFi support
This commit is contained in:
28
common.nix
28
common.nix
@@ -216,6 +216,16 @@ isoConfig
|
|||||||
// {
|
// {
|
||||||
system.stateVersion = "25.05";
|
system.stateVersion = "25.05";
|
||||||
|
|
||||||
|
# Allow unfree packages in order to install firmware for proprietary hardware (mainly for wifi controller necessary)
|
||||||
|
#nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# Hardware firmware for WiFi controllers
|
||||||
|
#hardware.enableAllFirmware = true;
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
# Latest kernel for better hardware support
|
||||||
|
#boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
# Timezone Configuration
|
# Timezone Configuration
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
@@ -349,7 +359,7 @@ isoConfig
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.getty.autologinUser = "workshop";
|
services.getty.autologinUser = "workshop";
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
# System Packages
|
# System Packages
|
||||||
@@ -1375,14 +1385,14 @@ isoConfig
|
|||||||
gnome-terminal
|
gnome-terminal
|
||||||
];
|
];
|
||||||
|
|
||||||
# Auto-start console and set GNOME settings
|
# Auto-start GNOME settings commented out to prevent any potential boot hangs
|
||||||
environment.etc."xdg/autostart/gnome-console.desktop".text = ''
|
# environment.etc."xdg/autostart/gnome-settings.desktop".text = ''
|
||||||
[Desktop Entry]
|
# [Desktop Entry]
|
||||||
Type=Application
|
# Type=Application
|
||||||
Name=Workshop Console
|
# Name=Workshop GNOME Settings
|
||||||
Exec=sh -c "gsettings set org.gnome.shell favorite-apps \"['org.gnome.TextEditor.desktop', 'org.gnome.Console.desktop', 'firefox.desktop']\" && gsettings set org.gnome.shell welcome-dialog-last-shown-version \"999999\" && gnome-console --maximize --hide-menubar --title=\"Workshop Console\""
|
# Exec=sh -c "gsettings set org.gnome.shell favorite-apps \"['org.gnome.TextEditor.desktop', 'firefox.desktop']\" && gsettings set org.gnome.shell welcome-dialog-last-shown-version \"999999\""
|
||||||
NoDisplay=false
|
# NoDisplay=false
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
# Auto-login configuration (renamed in newer NixOS)
|
# Auto-login configuration (renamed in newer NixOS)
|
||||||
services.displayManager.autoLogin = {
|
services.displayManager.autoLogin = {
|
||||||
|
|||||||
Reference in New Issue
Block a user