Commit 6e7010fa0e8d

Vincent Demeester <vincent@sbr.pm>
2017-04-21 21:55:48
Small update after big failure..
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 4981975
Changed files (3)
machine/wakasu.nix
@@ -10,20 +10,21 @@
 			../profiles/ssh.nix
 			../profiles/virtualization.nix
 			../profiles/dockerization.nix
-			../location/docker.nix
+			#../location/docker.nix
 			../location/home.nix
 			../hardware/thinkpad-t460s.nix
 		];
 
-	services.synergy.client = {
-		enable = true;
-		autoStart = false;
-		screenName = "wakasu";
-		serverAddress = "hokkaido.local";
-	};
+	#services.synergy.client = {
+	#	enable = true;
+	#	autoStart = false;
+	#	screenName = "wakasu";
+	#	serverAddress = "hokkaido.local";
+	#};
 
 	services.xserver.displayManager.slim.theme = pkgs.fetchurl {
 						url = "https://github.com/vdemeester/slim-themes/raw/master/docker-key-theme-0.1.tar.xz";
 						sha256 = "127893l1nzqya0g68k8841g5lm3hlnx7b3b3h06axvplc54a1jd8";
 						};
+        networking.firewall.allowedTCPPorts = [ 8080 8000 ];
 }
profiles/default.nix
@@ -50,16 +50,16 @@
 
 	system = {
 		stateVersion = "17.03";
-		autoUpgrade = {
-			enable = true;
-			dates = "13:00";
-		};
+	#	autoUpgrade = {
+	#		enable = true;
+	#		dates = "13:00";
+	#	};
 	};
 	systemd.services.nixos-update = {
 		description = "NixOS Upgrade";
 		unitConfig.X-StopOnRemoval = false;
 		serviceConfig.Type = "oneshot";
-
+	
 		environment = config.nix.envVars //
 		{ inherit (config.environment.sessionVariables) NIX_PATH;
 			HOME = "/root";
@@ -70,6 +70,7 @@
 			git pull --autostash --rebase
 			nix-channel --update nixos
 		'';
-		startAt = "12:00";
+		#startAt = "12:00";
+		startAt = "weekly";
 	};
 }
profiles/desktop.nix
@@ -49,6 +49,7 @@
 			enable = true;
 			enableTCP = false;
 			libinput.enable = true;
+			synaptics.enable = false;
 			layout = "fr";
 			xkbVariant = "oss";
 			inputClassSections = [
@@ -99,14 +100,14 @@ ${pkgs.pythonPackages.udiskie}/bin/udiskie -a -t -n -F &
 			};
 			xkbOptions = "compose:caps";
 		};
-		unclutter.enable = true;
-		redshift = {
-			enable = true;
-			brightness.day = "0.95";
-			brightness.night = "0.7";
-			latitude = "48.3";
-			longitude = "7.5";
-		};
+		# unclutter.enable = true;
+		#redshift = {
+		#	enable = true;
+		#	brightness.day = "0.95";
+		#	brightness.night = "0.7";
+		#	latitude = "48.3";
+		#	longitude = "7.5";
+		#};
 	};
 	fonts = {
 		enableFontDir = true;
@@ -127,22 +128,22 @@ ${pkgs.pythonPackages.udiskie}/bin/udiskie -a -t -n -F &
 		];
 	};
 	# Auto refresh nix-channel each day
-	systemd.user.services.channel-update = {
-		description = "Update nix-channel daily";
-		wantedBy = [ "multi-user.target" ];
-		serviceConfig = {
-			Type = "oneshot";
-			ExecStart = "nix-channel --update";
-			Environment = "PATH=/run/current-system/sw/bin";
-		};
-	};
-	systemd.user.timers.channel-update = {
-		description = "Update nix-channel daily";
-		wantedBy = [ "timers.target" ];
-		timerConfig = {
-			OnCalendar = "daily";
-			Persistent = "true";
-		};
-	};
-	systemd.user.timers.channel-update.enable = true;
+	#systemd.user.services.channel-update = {
+	#	description = "Update nix-channel daily";
+	#	wantedBy = [ "multi-user.target" ];
+	#	serviceConfig = {
+	#		Type = "oneshot";
+	#		ExecStart = "nix-channel --update";
+	#		Environment = "PATH=/run/current-system/sw/bin";
+	#	};
+	#};
+	#systemd.user.timers.channel-update = {
+	#	description = "Update nix-channel daily";
+	#	wantedBy = [ "timers.target" ];
+	#	timerConfig = {
+	#		OnCalendar = "daily";
+	#		Persistent = "true";
+	#	};
+	#};
+	#systemd.user.timers.channel-update.enable = true;
 }