summaryrefslogtreecommitdiff
path: root/modules/hosts/optiplex
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hosts/optiplex')
-rw-r--r--modules/hosts/optiplex/configuration.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/modules/hosts/optiplex/configuration.nix b/modules/hosts/optiplex/configuration.nix
index cbde612..d018c02 100644
--- a/modules/hosts/optiplex/configuration.nix
+++ b/modules/hosts/optiplex/configuration.nix
@@ -1,9 +1,5 @@
{ config, lib, pkgs, ... }: {
- imports = [
- ./hardware-configuration.nix
- ];
- networking.hostName = "optiplex";
-
+ imports = [ ./hardware-configuration.nix ];
bootloader.mode = "efi";
# Allow unfree for nvidia + others
@@ -32,10 +28,6 @@
# Disable wifi
wifi.enable = false;
- networking.hosts = {
- "192.168.77.3" = [ "devel" ];
- };
-
# Use nvidia driver
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
@@ -46,5 +38,8 @@
package = config.boot.kernelPackages.nvidiaPackages.stable; # Still good for 1050
};
+ # Disable suspend
+ suspend.enable = false;
+
system.stateVersion = "24.11";
}