Commit 1ef5da2b7f85

Vincent Demeester <vincent@sbr.pm>
2018-03-19 22:29:41
redshift on wakasu and update virtualbox
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 7d9179b
machine/wakasu.nix
@@ -34,6 +34,13 @@
 		}
 	];
 
+	services.redshift = {
+		enable = true;
+		brightness = { day = "1"; night = "0.9"; };
+		latitude = "48.3";
+		longitude = "7.5";
+	};
+
 	hardware.bluetooth.enable = true;
 	hardware.bluetooth.extraConfig = "
 [general]
profiles/default.nix
@@ -51,6 +51,10 @@
 		    connect-timeout = 20
 		    build-cores = 0
 		'';
+#    nixPath = [ "nixpkgs=https://nixos.org/channels/nixos-17.09/nixexprs.tar.xz"
+#                "nixos-config=/etc/nixos/configuration.nix"
+#                "-overlays=https://github.com/knedlsepp/nixpkgs-overlays/archive/master.tar.gz"
+#    ];
 	};
 	nixpkgs = {
 		config = {
profiles/desktop.nix
@@ -134,14 +134,6 @@ ${pkgs.xss-lock}/bin/xss-lock --ignore-sleep i3lock-color -- --clock -i $HOME/.b
 				'';
 			};
 		};
-		# unclutter.enable = true;
-		#redshift = {
-		#	enable = true;
-		#	brightness.day = "0.95";
-		#	brightness.night = "0.7";
-		#	latitude = "48.3";
-		#	longitude = "7.5";
-		#};
 	};
 	fonts = {
 		enableFontDir = true;
profiles/virtualization.nix
@@ -16,6 +16,7 @@ dynamic_ownership = 0
 '';
 		};
 	};
+	nixpkgs.config.virtualbox.enableExtensionPack = true;
 	networking.firewall.trustedInterfaces = [ "vboxnet0" ];
 	environment = {
 		systemPackages = with pkgs; [