programs: add mepo
This commit is contained in:
@@ -186,6 +186,7 @@ let
|
|||||||
komikku
|
komikku
|
||||||
koreader
|
koreader
|
||||||
# lollypop
|
# lollypop
|
||||||
|
mepo # maps viewer
|
||||||
# mpv
|
# mpv
|
||||||
# networkmanagerapplet
|
# networkmanagerapplet
|
||||||
# newsflash
|
# newsflash
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
./komikku.nix
|
./komikku.nix
|
||||||
./koreader
|
./koreader
|
||||||
./libreoffice.nix
|
./libreoffice.nix
|
||||||
|
./mepo.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./newsflash.nix
|
./newsflash.nix
|
||||||
|
18
hosts/common/programs/mepo.nix
Normal file
18
hosts/common/programs/mepo.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# docs: <https://git.sr.ht/~mil/mepo>
|
||||||
|
# irc #mepo:irc.oftc.net
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
sane.programs.mepo = {
|
||||||
|
persist.plaintext = [ ".cache/mepo/tiles" ];
|
||||||
|
# ~/.cache/mepo/savestate has precise coordinates and pins: keep those private
|
||||||
|
persist.private = [ ".cache/mepo/savestate" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.mepo = lib.mkIf config.sane.programs.mepo.enabled {
|
||||||
|
# enable location services (via geoclue)
|
||||||
|
enable = true;
|
||||||
|
# more precise, via gpsd ("may require additional config")
|
||||||
|
# programs.mepo.gpsd.enable = true
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user