summaryrefslogtreecommitdiff
path: root/hosts/optiplex
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/optiplex')
-rw-r--r--hosts/optiplex/configuration.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/hosts/optiplex/configuration.nix b/hosts/optiplex/configuration.nix
index 4c66de5..74d09b5 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;
@@ -50,7 +46,6 @@
enable = true;
home.enable = true;
home.automount = true;
- office.enable = true;
};
};
@@ -59,13 +54,16 @@
# Allow unfree for nvidia + others
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
- "nvidia-x11"
+ "blackmagic-desktop-video"
+ "decklink"
+ "nvidia-kernel-modules"
"nvidia-settings"
+ "nvidia-x11"
"spotify"
"steam"
"steam-original"
- "steam-unwrapped"
"steam-run"
+ "steam-unwrapped"
];
# Install more software
@@ -84,10 +82,14 @@
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
};
+ # Enable decklink support for intensity pro
+ services._decklink.enable = true;
+ services._decklink.decklinkSupport.enable = true;
+
# Configure home
home-manager.users.timmy = {
gtk._mintTheme = {