From 5e728ae5292fe828b02f0ad6637b60c5585f74a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 26 Apr 2019 07:53:13 +0100 Subject: [PATCH] Made advanced graphics settings skinny-only --- nixos/boxes/skinnyv.nix | 8 ++++++-- nixos/gfx.nix | 5 ----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/nixos/boxes/skinnyv.nix b/nixos/boxes/skinnyv.nix index a44dba9f..dcf14300 100644 --- a/nixos/boxes/skinnyv.nix +++ b/nixos/boxes/skinnyv.nix @@ -1,13 +1,17 @@ { config, pkgs, ... }: { networking.hostName = "skinnyv"; - boot.initrd.luks.devices = [ + boot = { + kernelParams = [ + "i915.enable_rc6=7" + ]; + initrd.luks.devices = [ { name = "root"; device = "/dev/disk/by-uuid/8c76bf01-59b3-4c60-b853-e9cb77f3ca14"; preLVM = true; allowDiscards = true; }]; - + }; imports = [ ../common.nix ]; } \ No newline at end of file diff --git a/nixos/gfx.nix b/nixos/gfx.nix index f8c5e723..14eb87ec 100644 --- a/nixos/gfx.nix +++ b/nixos/gfx.nix @@ -19,9 +19,4 @@ }; }; - boot = { - kernelParams = [ - "i915.enable_rc6=7" - ]; - }; } \ No newline at end of file