Commit 8514595a5bc1

Vincent Demeester <vincent@sbr.pm>
2020-05-25 17:49:40
systems: try to fix build 💦
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 11b95d6
Changed files (2)
systems/hokkaido.nix
@@ -5,6 +5,7 @@ let
     {}
   '';
   inCi = builtins.pathExists /home/build;
+  enableHome = !inCi;
 in
 {
   imports = [
@@ -14,7 +15,7 @@ in
     ../hardware/thinkpad-x220.nix
   ];
 
-  profiles.home = !inCi;
+  profiles.home = enableHome;
 
   networking = {
     hostName = "hokkaido";
systems/wakasu.nix
@@ -4,6 +4,8 @@ let
     # assert builtins.trace "This is a dummy config, use switch!" false;
     {}
   '';
+  inCi = builtins.pathExists /home/build;
+  enableHome = !inCi;
 in
 {
   imports = [
@@ -15,7 +17,7 @@ in
     ../machines/home.nixos.nix
   ];
 
-  profiles.home = !inCi;
+  profiles.home = enableHome;
 
   networking = {
     hostName = "wakasu";