diff --git a/nixos/cesium.nix b/nixos/cesium.nix index 3ce611b..d108269 100644 --- a/nixos/cesium.nix +++ b/nixos/cesium.nix @@ -16,5 +16,6 @@ enable = true; }; + networking.hostName = "cesium"; networking.firewall.allowedTCPPorts = [ 9003 ]; } diff --git a/nixos/common.nix b/nixos/common.nix index c17c7be..333a874 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -17,7 +17,6 @@ }; # Network - networking.hostName = "cesium"; # Define your hostname. networking.networkmanager.enable = true; # Set your time zone. @@ -55,7 +54,7 @@ cifs-utils ]; - # Shell-Programme + # Shell-programms programs.zsh.enable = true; programs.git.enable = true; @@ -70,7 +69,7 @@ security.rtkit.enable = true; - # 32-bit Support für Steam + # 32-bit Support for Steam hardware.graphics.enable32Bit = true; services.pulseaudio.support32Bit = true; @@ -80,6 +79,10 @@ services.displayManager.gdm.autoSuspend = false; services.desktopManager.gnome.enable = true; + # After wakeup wait 3 minutes before going a new suspend is possible, + # to prevent GNOME's accumulated idle-timer suspends immediately. + services.logind.settings.Login.HoldoffTimeoutUSec = "3min"; + environment.gnome.excludePackages = with pkgs; [ gnome-photos gnome-tour