diff --git a/hosts/by-name/moby/gps.nix b/hosts/by-name/moby/gps.nix index d2dcb23c7..2476f7aa1 100644 --- a/hosts/by-name/moby/gps.nix +++ b/hosts/by-name/moby/gps.nix @@ -65,4 +65,5 @@ ]; sane.services.eg25-control.enable = true; + sane.programs.where-am-i.enableFor.user.colin = true; } diff --git a/pkgs/additional/where-am-i/default.nix b/pkgs/additional/where-am-i/default.nix new file mode 100644 index 000000000..85578a384 --- /dev/null +++ b/pkgs/additional/where-am-i/default.nix @@ -0,0 +1,9 @@ +{ linkFarm +, geoclue2 +}: +linkFarm "where-am-i" [{ + # bring the `where-am-i` tool into a `bin/` directory so it can be invokable via PATH + name = "bin/where-am-i"; + path = "${geoclue2}/libexec/geoclue-2.0/demos/where-am-i"; +}] + diff --git a/pkgs/default.nix b/pkgs/default.nix index b0042531b..4b7544d06 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -66,6 +66,7 @@ let rmDbusServices ; unftp = callPackage ./additional/unftp { }; + where-am-i = callPackage ./additional/where-am-i { }; xdg-terminal-exec = callPackage ./additional/xdg-terminal-exec { }; zecwallet-light-cli = callPackage ./additional/zecwallet-light-cli { };