Compare commits
3 commits
0e5387dfc0
...
f670c2af5f
Author | SHA1 | Date | |
---|---|---|---|
|
f670c2af5f | ||
|
5655847c08 | ||
|
7f27ccd07c |
7 changed files with 41 additions and 29 deletions
|
@ -130,7 +130,12 @@
|
||||||
landingpage = landingpage.packages.${system}.plain;
|
landingpage = landingpage.packages.${system}.plain;
|
||||||
kmonad = kmonad.packages.${system}.kmonad;
|
kmonad = kmonad.packages.${system}.kmonad;
|
||||||
tasksh = taskshell.packages.${system}.tasksh;
|
tasksh = taskshell.packages.${system}.tasksh;
|
||||||
inherit (self.packages.${system}) otpmenu taskwarrior-hooks nsxiv;
|
inherit (self.packages.${system})
|
||||||
|
otpmenu
|
||||||
|
taskwarrior-hooks
|
||||||
|
nsxiv
|
||||||
|
bugwarrior
|
||||||
|
;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -60,29 +60,11 @@ in
|
||||||
default = { };
|
default = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = mkIf config.gui.enable {
|
||||||
home.file.".config/bugwarrior/bugwarrior.toml".source =
|
home.file.".config/bugwarrior/bugwarrior.toml".source =
|
||||||
(pkgs.formats.toml { }).generate "bugwarriorrc.toml"
|
(pkgs.formats.toml { }).generate "bugwarriorrc.toml"
|
||||||
config.bugwarrior.config;
|
config.bugwarrior.config;
|
||||||
# todo : before deleting this, put it in logseq
|
home.packages = [ pkgs.bugwarrior ];
|
||||||
|
|
||||||
home.packages = [
|
|
||||||
(pkgs.legacy_2311.python3Packages.bugwarrior.overrideAttrs (old: {
|
|
||||||
version = "develop";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "ralphbean";
|
|
||||||
repo = "bugwarrior";
|
|
||||||
rev = "6554e70c199cc766a2b5e4e4fe22e4e46d64bba1";
|
|
||||||
sha256 = "sha256-cKhL8FBH7wxCxXrybVRLfCHQTCxursFqtBDl3e1UUXs=";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
|
||||||
pkgs.legacy_2311.python3Packages.pydantic
|
|
||||||
pkgs.legacy_2311.python3Packages.tomli
|
|
||||||
pkgs.legacy_2311.python3Packages.email-validator
|
|
||||||
pkgs.legacy_2311.python3Packages.packaging
|
|
||||||
];
|
|
||||||
}))
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -92,15 +74,15 @@ in
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
||||||
taskwarrior
|
|
||||||
taskwarrior-tui
|
|
||||||
|
|
||||||
pkgs.timewarrior
|
pkgs.timewarrior
|
||||||
|
|
||||||
|
taskwarrior
|
||||||
pkgs.tasksh
|
pkgs.tasksh
|
||||||
pkgs.taskwarrior-hooks
|
pkgs.taskwarrior-hooks
|
||||||
(pkgs.writeShellScriptBin "tsak" ''${taskwarrior}/bin/task "$@"'')
|
(pkgs.writeShellScriptBin "tsak" ''${taskwarrior}/bin/task "$@"'')
|
||||||
|
|
||||||
pkgs.vit
|
pkgs.vit
|
||||||
|
taskwarrior-tui
|
||||||
(pkgs.writers.writeBashBin "active" "${taskwarrior-tui}/bin/taskwarrior-tui -r active")
|
(pkgs.writers.writeBashBin "active" "${taskwarrior-tui}/bin/taskwarrior-tui -r active")
|
||||||
(pkgs.writers.writeBashBin "todo" "${taskwarrior-tui}/bin/taskwarrior-tui -r todo")
|
(pkgs.writers.writeBashBin "todo" "${taskwarrior-tui}/bin/taskwarrior-tui -r todo")
|
||||||
|
|
||||||
|
|
|
@ -45,10 +45,10 @@
|
||||||
./sync-syncoid.nix
|
./sync-syncoid.nix
|
||||||
|
|
||||||
./service-atuin.nix
|
./service-atuin.nix
|
||||||
|
./service-forgejo.nix
|
||||||
./service-paperless.nix
|
./service-paperless.nix
|
||||||
./services-forgejo.nix
|
./service-s3.nix
|
||||||
./services-s3.nix
|
./service-vault.nix
|
||||||
./services-vault.nix
|
|
||||||
|
|
||||||
./zerotier-controller.nix
|
./zerotier-controller.nix
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,38 @@
|
||||||
_: {
|
{ inputs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs, ... }:
|
{ pkgs, system, ... }:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
let
|
||||||
|
legacy_2311 = import inputs.nixpkgs-legacy_2311 { inherit system; };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
packages.pkl = callPackage ./pkl { };
|
packages.pkl = callPackage ./pkl { };
|
||||||
packages.otpmenu = callPackage ./otpmenu { };
|
packages.otpmenu = callPackage ./otpmenu { };
|
||||||
#packages.sononym = callPackage ./sononym { };
|
#packages.sononym = callPackage ./sononym { };
|
||||||
#packages.sononym-crawler = callPackage ./sononym-crawler { };
|
#packages.sononym-crawler = callPackage ./sononym-crawler { };
|
||||||
packages.taskwarrior-hooks = callPackage ./taskwarrior-hooks { };
|
packages.taskwarrior-hooks = callPackage ./taskwarrior-hooks { };
|
||||||
|
|
||||||
|
# overrides
|
||||||
|
# ---------
|
||||||
packages.nsxiv = (pkgs.nsxiv.override { conf = builtins.readFile ./nsxiv/config.def.h; });
|
packages.nsxiv = (pkgs.nsxiv.override { conf = builtins.readFile ./nsxiv/config.def.h; });
|
||||||
|
|
||||||
|
packages.bugwarrior = legacy_2311.python3Packages.bugwarrior.overrideAttrs (old: {
|
||||||
|
version = "2024-08-27";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "ralphbean";
|
||||||
|
repo = "bugwarrior";
|
||||||
|
rev = "25e99834ef79e0a8c7141943810e0aa5152d6710";
|
||||||
|
sha256 = "sha256-JPmFP6i/7Ji5LyrKT9WCngWqMyrM00rEXV8QVLwxx1A=";
|
||||||
|
};
|
||||||
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
||||||
|
legacy_2311.python3Packages.pydantic
|
||||||
|
legacy_2311.python3Packages.tomli
|
||||||
|
legacy_2311.python3Packages.email-validator
|
||||||
|
legacy_2311.python3Packages.packaging
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue