enable bluetooth, and redshift for screen color temp

This commit is contained in:
Haak Saxberg 2020-07-02 23:49:41 -07:00
parent 88af6eee7c
commit 2a299086a0

View file

@ -15,6 +15,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.bluetooth.enable = true;
networking.networkmanager.enable = true;
networking.hostName = "athena"; # Define your hostname.
# Create entries for /etc/wpa_supplicant.conf by running `wpa_passphrase SSID PASSWORD`
@ -110,7 +111,11 @@
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio = {
enable = true;
# The full package is necessary to allow bluetooth audio devices.
package = pkgs.pulseaudioFull;
};
# Enable the X11 windowing system.
services.xserver.enable = true;
@ -133,6 +138,21 @@
configDir = "/home/haak/synced/.config/syncthing";
};
location.provider = "geoclue2";
services.redshift = {
enable = true;
brightness = {
# Note the string values below.
day = "1";
night = "1";
};
temperature = {
day = 5500;
night = 3700;
};
};
# Define a user account. Don't forget to set a password with passwd.
users.users.haak = {
isNormalUser = true;