summaryrefslogtreecommitdiffstats
path: root/dell/xps/15-9560/xps-common.nix
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-02-18 13:52:09 +0000
committerGitHub <noreply@github.com>2020-02-18 13:52:09 +0000
commit5904e7605c5c6b26994e3b49153feaa29c35e388 (patch)
tree1435ca3c232203779816e5c6543bea04b8391ca2 /dell/xps/15-9560/xps-common.nix
parent74efa57ee46ece7ccd95fc133c08badb798f0552 (diff)
parent26454a206d67fa02f2656fe6aaca053f31983600 (diff)
Merge pull request #139 from danielstaleiny/master
Adding Dell XPS 15 9560
Diffstat (limited to 'dell/xps/15-9560/xps-common.nix')
-rw-r--r--dell/xps/15-9560/xps-common.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/dell/xps/15-9560/xps-common.nix b/dell/xps/15-9560/xps-common.nix
new file mode 100644
index 0000000..62aae07
--- /dev/null
+++ b/dell/xps/15-9560/xps-common.nix
@@ -0,0 +1,12 @@
+{ lib, ... }:
+
+{
+
+ # Boot loader
+ boot.loader.systemd-boot.enable = lib.mkDefault true;
+ boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
+ boot.kernelParams = lib.mkDefault [ "acpi_rev_override" ];
+
+ # This will save you money and possibly your life!
+ services.thermald.enable = lib.mkDefault true;
+}