my nixos/home-manager configuration
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add conditional config for stratorys projects

+32
+16
home-manager/desktop.nix
··· 32 32 user.signingKey = config.home.file.".ssh/clever-cloud.pub".text; 33 33 }; 34 34 } 35 + { 36 + when = [ 37 + "${user.homeDirectory}/stratorys" 38 + ]; 39 + config = { 40 + user.email = "${user.name}.${user.family}@stratorys.com"; 41 + }; 42 + } 35 43 ]; 36 44 }; 37 45 jujutsu = { ··· 44 52 config = { 45 53 user.email = "${user.name}.${user.family}@clever-cloud.com"; 46 54 signing.key = config.home.file.".ssh/clever-cloud.pub".text; 55 + }; 56 + } 57 + { 58 + when = [ 59 + "${user.homeDirectory}/stratorys" 60 + ]; 61 + config = { 62 + user.email = "${user.name}.${user.family}@stratorys.com"; 47 63 }; 48 64 } 49 65 ];
+16
home-manager/laptop.nix
··· 32 32 user.signingKey = config.home.file.".ssh/clever-cloud.pub".text; 33 33 }; 34 34 } 35 + { 36 + when = [ 37 + "${user.homeDirectory}/stratorys" 38 + ]; 39 + config = { 40 + user.email = "${user.name}.${user.family}@stratorys.com"; 41 + }; 42 + } 35 43 ]; 36 44 }; 37 45 jujutsu = { ··· 44 52 config = { 45 53 user.email = "${user.name}.${user.family}@clever-cloud.com"; 46 54 signing.key = config.home.file.".ssh/clever-cloud.pub".text; 55 + }; 56 + } 57 + { 58 + when = [ 59 + "${user.homeDirectory}/stratorys" 60 + ]; 61 + config = { 62 + user.email = "${user.name}.${user.family}@stratorys.com"; 47 63 }; 48 64 } 49 65 ];