diff --git a/nix/configuration.nix b/nix/configuration.nix index e2583ee..f611be6 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -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;