Personal Nix setup
0
fork

Configure Feed

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

Switch identity path on darwin

+3 -5
+3 -5
lib/system.nix
··· 10 10 lib = (import nixpkgs { inherit overlays system; }).lib; 11 11 12 12 age = { 13 - identityPaths = [ 14 - "/var/lib/persistent/agenix" 15 - "${rootDir}/.ssh/agenix" 16 - "${homeDir}/.ssh/agenix" 17 - ]; 13 + identityPaths = let 14 + identityPath = if isDarwin then "/usr/local/persistent/agenix" else "/var/lib/persistent/agenix"; 15 + in [ identityPath ]; 18 16 }; 19 17 20 18 systemModules = modules ++ [