1
0
Fork 0

Switch to neuron dev

This commit is contained in:
Malte Brandy 2020-07-13 13:36:08 +02:00
parent 995b63fbbd
commit f7cee11299
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
4 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, config, ... }: { pkgs, config, ... }:
let let
notesDir = "${config.home.homeDirectory}/git/zettelkasten"; notesDir = "${config.home.homeDirectory}/git/zettelkasten";
cmd = "${pkgs.myHaskellPackages.neuron}/bin/neuron -d ${notesDir} rib -wS"; cmd = "${pkgs.home-pkgs.neuron}/bin/neuron -d ${notesDir} rib -wS";
in { in {
systemd.user.services.neuron = { systemd.user.services.neuron = {
Unit.Description = "Neuron zettelkasten service"; Unit.Description = "Neuron zettelkasten service";

View file

@ -25,6 +25,7 @@ let
watchNixpkgsPackage name "release-20.03" watchNixpkgsPackage name "release-20.03"
"nixos/release-20.03/nixpkgs.haskellPackages.${name}.x86_64-linux"; "nixos/release-20.03/nixpkgs.haskellPackages.${name}.x86_64-linux";
watchedHaskellUpdatesPkgs = builtins.attrNames (pkgs.myHaskellPackages) ++ [ watchedHaskellUpdatesPkgs = builtins.attrNames (pkgs.myHaskellPackages) ++ [
"neuron"
"jsaddle-warp" "jsaddle-warp"
"snap" "snap"
"dependent-sum-template" "dependent-sum-template"

View file

@ -10,8 +10,8 @@ let
makeHaskellPackages = p: makeHaskellPackages = p:
{ {
inherit (p) inherit (p)
brittany ormolu releaser cabal-fmt stack ghcid ghcide cabal-install dhall brittany ormolu releaser cabal-fmt stack ghcid ghcide haskell-language-server cabal-install dhall
aeson unordered-containers these neuron taskwarrior pandoc hlint aeson unordered-containers these taskwarrior pandoc hlint
cabal2nix weeder reflex-dom password optics-th shh-extras; cabal2nix weeder reflex-dom password optics-th shh-extras;
} // makeHaskellScriptPackages p; } // makeHaskellScriptPackages p;
in { in {

View file

@ -47,6 +47,7 @@ self: super: {
go gdb mpc_cli ncmpcpp shfmt htmlTidy astyle nodejs tasksh magic-wormhole go gdb mpc_cli ncmpcpp shfmt htmlTidy astyle nodejs tasksh magic-wormhole
nixfmt rnix-lsp tmate rustup kitty nix-top ghc ghcid ormolu; nixfmt rnix-lsp tmate rustup kitty nix-top ghc ghcid ormolu;
obelisk = (import self.sources.obelisk { }).command; obelisk = (import self.sources.obelisk { }).command;
neuron = import self.sources.neuron { };
}; };
accounting-pkgs = { accounting-pkgs = {
inherit (self.haskellPackages) hledger hledger-ui hledger-web; inherit (self.haskellPackages) hledger hledger-ui hledger-web;