Commit eefbaa34bea7

Vincent Demeester <vincent@sbr.pm>
2018-04-20 22:47:15
Re-indent wakasu.nix
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e56b4ca
Changed files (1)
machine
machine/wakasu.nix
@@ -1,65 +1,60 @@
 { config, pkgs, ... }:
 
 {
-	imports =
-		[ # Include the results of the hardware scan.
-			../hardware-configuration.nix
-			../profiles/laptop.nix
-			../profiles/ssh.nix
-      ../profiles/yubikey.nix
-			../profiles/dockerization.nix
-			../profiles/dev.go.nix
-			../profiles/dev.python.nix
-			../location/docker.nix
-			../location/home.nix
-      ../pkgs/home-manager/nixos
-			../hardware/thinkpad-t460s.nix
-		];
+  imports =
+    [ # Include the results of the hardware scan.
+    ../hardware-configuration.nix
+    ../profiles/laptop.nix
+    ../profiles/ssh.nix
+    ../profiles/yubikey.nix
+    ../profiles/dockerization.nix
+    ../profiles/dev.go.nix
+    ../profiles/dev.python.nix
+    ../location/docker.nix
+    ../location/home.nix
+    ../pkgs/home-manager/nixos
+    ../hardware/thinkpad-t460s.nix
+  ];
 
-	security.pam.loginLimits = [
-		{ domain = "@audio"; item = "memlock"; type = "-"; value = "unlimited"; }
-		{ domain = "@audio"; item = "rtprio";  type = "-"; value = "99"; }
-		{ domain = "@audio"; item = "nofile";  type = "-"; value = "99999"; }
-	];
+  security.pam.loginLimits = [
+    { domain = "@audio"; item = "memlock"; type = "-"; value = "unlimited"; }
+    { domain = "@audio"; item = "rtprio";  type = "-"; value = "99"; }
+    { domain = "@audio"; item = "nofile";  type = "-"; value = "99999"; }
+  ];
 
   home-manager.users.vincent = {...}: {
     imports = [
       ../envs/wakasu.nix
     ];
   };
-  
-	boot.loader.systemd-boot.enable = true;
-	boot.loader.efi.canTouchEfiVariables = true;
-	boot.initrd.luks.devices = [
-		{
-			name = "root";
-			device = "/dev/disk/by-uuid/e511e87f-a3b1-472a-bebb-c6cdd5154a16";
-			preLVM = true;
-			allowDiscards = true;
-		}
-	];
 
-	services.redshift = {
-		enable = true;
-		brightness = { day = "1"; night = "0.9"; };
-		latitude = "48.3";
-		longitude = "7.5";
-	};
+  boot.loader.systemd-boot.enable = true;
+  boot.loader.efi.canTouchEfiVariables = true;
+  boot.initrd.luks.devices = [
+    {
+      name = "root";
+      device = "/dev/disk/by-uuid/e511e87f-a3b1-472a-bebb-c6cdd5154a16";
+      preLVM = true;
+      allowDiscards = true;
+    }
+  ];
 
-	hardware.bluetooth.enable = true;
+  services.redshift = {
+    enable = true;
+    brightness = { day = "1"; night = "0.9"; };
+    latitude = "48.3";
+    longitude = "7.5";
+  };
+
+  hardware.bluetooth.enable = true;
   hardware.bluetooth.powerOnBoot = true;
-  /*
-	hardware.bluetooth.extraConfig = "
-[general]
-Enable=Source,Sink,Media,Socket
-";
-  */
-	hardware.trackpoint.enable = false;
 
-	time.timeZone = "Europe/Paris";
+  hardware.trackpoint.enable = false;
 
-	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";
-	};
+  time.timeZone = "Europe/Paris";
+
+  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";
+  };
 }