summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/optiplex/configuration.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix
index 4c66de5..8563c2c 100644
--- a/hosts/optiplex/configuration.nix
+++ b/hosts/optiplex/configuration.nix
@@ -1,8 +1,4 @@
{ config, lib, pkgs, home-manager, ... }: {
- imports = [
- ./g610.nix
- ];
-
# Setup bootloader
boot._loader.enable = true;
@@ -48,8 +44,8 @@
autologin.enable = true;
nas = {
enable = true;
- home.enable = true;
- home.automount = true;
+ #home.enable = true;
+ #home.automount = true;
office.enable = true;
};
};
@@ -59,13 +55,14 @@
# Allow unfree for nvidia + others
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
- "nvidia-x11"
+ "nvidia-kernel-modules"
"nvidia-settings"
+ "nvidia-x11"
"spotify"
"steam"
"steam-original"
- "steam-unwrapped"
"steam-run"
+ "steam-unwrapped"
];
# Install more software
@@ -84,7 +81,7 @@
powerManagement.enable = false; # Can cause bugs
nvidiaSettings = true;
open = false; # Not compatible w/ GTX-1050
- package = config.boot.kernelPackages.nvidiaPackages.stable; # Still good for 1050
+ package = config.boot.kernelPackages.nvidiaPackages.legacy_580;
forceFullCompositionPipeline = true; # Enables vsync
};