chore(nix/prog/himalaya): use develop branch
This commit is contained in:
parent
2b2c68bbee
commit
e8628b6312
1 changed files with 11 additions and 1 deletions
|
@ -4,7 +4,16 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.progs.himalaya;
|
cfg = config.progs.himalaya;
|
||||||
bin = "~/repos/himalaya/target/release/himalaya";
|
|
||||||
|
devHimalaya = pkgs.himalaya.overrideAttrs (oldAttrs: {
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "https://github.com/soywod/himalaya.git";
|
||||||
|
ref = "development";
|
||||||
|
rev = "ba8ef9adf6effc40674765f995d19e9cfd1a8636";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
bin = "${devHimalaya}/bin/himalaya";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.progs.himalaya = {
|
options.progs.himalaya = {
|
||||||
|
@ -18,6 +27,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.himalaya = {
|
programs.himalaya = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = devHimalaya;
|
||||||
settings = {
|
settings = {
|
||||||
default-page-size = 20;
|
default-page-size = 20;
|
||||||
downloads-dir = "${config.home.homeDirectory}/downloads/email";
|
downloads-dir = "${config.home.homeDirectory}/downloads/email";
|
||||||
|
|
Loading…
Reference in a new issue