From e0746cf244b94b8f0e59975ee34db0e4dc70d026 Mon Sep 17 00:00:00 2001 From: kat witch Date: Wed, 9 Dec 2020 12:40:07 +0000 Subject: [PATCH] Removed GNOME from Samhain. Turned LightDM on for Samhain. As it turns out, if you don't have pkgs.gawk in the path for the thermal script, you don't have awk. If you don't have awk, it can't actually do any of the power mode switching and locks your card at a lower power mode. I have a brain, I swear! I just, left it on the counter. --- configuration/hosts/samhain/configuration.nix | 8 ++++++-- configuration/hosts/samhain/services/thermal/thermal.nix | 2 +- configuration/profiles/xfce/default.nix | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configuration/hosts/samhain/configuration.nix b/configuration/hosts/samhain/configuration.nix index 0d489032..3fc8c26c 100644 --- a/configuration/hosts/samhain/configuration.nix +++ b/configuration/hosts/samhain/configuration.nix @@ -1,11 +1,11 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ../../profiles/common ../../profiles/desktop - ../../profiles/gnome + #../../profiles/gnome ../../profiles/xfce ../../profiles/gaming ../../profiles/development @@ -23,6 +23,10 @@ networking.hostName = "samhain"; networking.hostId = "617050fc"; + services.xserver.deviceSection = lib.mkDefault '' + Option "TearFree" "true" + ''; + networking.useDHCP = false; networking.interfaces.enp34s0.useDHCP = true; networking.firewall.allowPing = true; diff --git a/configuration/hosts/samhain/services/thermal/thermal.nix b/configuration/hosts/samhain/services/thermal/thermal.nix index f7458ce5..9592abe3 100644 --- a/configuration/hosts/samhain/services/thermal/thermal.nix +++ b/configuration/hosts/samhain/services/thermal/thermal.nix @@ -10,7 +10,7 @@ services = { kaede-thermals = { wantedBy = [ "multi-user.target" ]; - path = [ pkgs.bash pkgs.coreutils-full ]; + path = [ pkgs.bash pkgs.coreutils-full pkgs.gawk ]; serviceConfig = { RemainAfterExit = "no"; Type = "simple"; diff --git a/configuration/profiles/xfce/default.nix b/configuration/profiles/xfce/default.nix index 752fb2da..0fb345aa 100644 --- a/configuration/profiles/xfce/default.nix +++ b/configuration/profiles/xfce/default.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: { services.xserver.enable = true; - #services.xserver.displayManager.lightdm.enable = true; + services.xserver.displayManager.lightdm.enable = true; services.xserver.desktopManager.xfce.enable = true; services.gvfs = { enable = true;