From 675df06a2ee596141170606c2689f7cefa66578a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 10 Oct 2019 16:27:58 +0200 Subject: Make changes for release 19.09 --- system/settings/configuration/berlin.nix | 6 +++--- system/settings/configuration/england.nix | 4 ++-- system/settings/hardware/intel-gpu.nix | 2 -- system/settings/hardware/laptop.nix | 14 ++++---------- system/settings/programs/gnome.nix | 1 - system/settings/programs/window-manager.nix | 2 +- system/settings/user-interface.nix | 4 ++-- 7 files changed, 12 insertions(+), 21 deletions(-) (limited to 'system') diff --git a/system/settings/configuration/berlin.nix b/system/settings/configuration/berlin.nix index 246510c4..6fa4f502 100644 --- a/system/settings/configuration/berlin.nix +++ b/system/settings/configuration/berlin.nix @@ -1,8 +1,8 @@ { config, pkgs, ... }: { time.timeZone = "Europe/Berlin"; - services.redshift = { - latitude = "52.586"; - longitude = "13.300"; + location = { + latitude = 52.586; + longitude = 13.300; }; } diff --git a/system/settings/configuration/england.nix b/system/settings/configuration/england.nix index b2f799cd..4b54db17 100644 --- a/system/settings/configuration/england.nix +++ b/system/settings/configuration/england.nix @@ -2,7 +2,7 @@ { time.timeZone = "Europe/London"; services.redshift = { - latitude = "52.2394"; - longitude = "-0.9416"; + latitude = 52.2394; + longitude = -0.9416; }; } diff --git a/system/settings/hardware/intel-gpu.nix b/system/settings/hardware/intel-gpu.nix index fc6b6fa3..81fd765e 100644 --- a/system/settings/hardware/intel-gpu.nix +++ b/system/settings/hardware/intel-gpu.nix @@ -6,8 +6,6 @@ libvdpau-va-gl ]; - services.xserver.videoDrivers = [ "intel" "modesetting" ]; - boot.earlyVconsoleSetup = true; boot.initrd.kernelModules = [ "i915" diff --git a/system/settings/hardware/laptop.nix b/system/settings/hardware/laptop.nix index 17e27b63..bec1f7f6 100644 --- a/system/settings/hardware/laptop.nix +++ b/system/settings/hardware/laptop.nix @@ -17,17 +17,8 @@ ]; }; }; - systemd.services.bluetooth.wantedBy = lib.mkForce []; - systemd.timers.bluetooth = { - description = "Delayed startup of Bluetooth"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnActiveSec = "1 min"; - }; - }; environment.systemPackages = with pkgs; [ - blueman bluez-tools powerstat @@ -65,6 +56,10 @@ ''; }; + services.blueman = { + enable = true; + }; + services.xserver = { libinput = { enable = lib.mkDefault true; @@ -73,7 +68,6 @@ }; displayManager.sessionCommands = '' ${pkgs.autorandr}/bin/autorandr --change --force - ${pkgs.blueman}/bin/blueman-applet & ''; }; diff --git a/system/settings/programs/gnome.nix b/system/settings/programs/gnome.nix index bd785453..13309a6e 100644 --- a/system/settings/programs/gnome.nix +++ b/system/settings/programs/gnome.nix @@ -6,7 +6,6 @@ with lib; gnome-documents.enable = false; gnome-user-share.enable = false; gnome-online-accounts.enable = false; - seahorse.enable = false; tracker.enable = false; }; telepathy.enable = false; diff --git a/system/settings/programs/window-manager.nix b/system/settings/programs/window-manager.nix index 7095d523..957f94b7 100644 --- a/system/settings/programs/window-manager.nix +++ b/system/settings/programs/window-manager.nix @@ -27,7 +27,7 @@ services.xserver.displayManager.setupCommands = '' ${pkgs.redshift}/bin/redshift \ - -l ${toString config.services.redshift.latitude}:${toString config.services.redshift.longitude} \ + -l ${toString config.location.latitude}:${toString config.location.longitude} \ -t ${toString config.services.redshift.temperature.day}:${toString config.services.redshift.temperature.night} \ -b 1:1 \ -o \ diff --git a/system/settings/user-interface.nix b/system/settings/user-interface.nix index c23eec81..2484b364 100644 --- a/system/settings/user-interface.nix +++ b/system/settings/user-interface.nix @@ -41,7 +41,7 @@ services.compton = { enable = true; backend = "glx"; - vSync = "opengl-swc"; + vSync = true; }; services.devmon.enable = true; @@ -80,9 +80,9 @@ programs.ssh.startAgent = true; programs.dconf.enable = true; + programs.seahorse.enable = true; services.gnome3 = { gnome-keyring.enable = true; - seahorse.enable = true; at-spi2-core.enable = true; }; -- cgit 1.4.1