commit 4c1264b9445e9e62d4842b952ce3280eefecb6cd
parent bc181c369edd1a475a3a5d67dd2d75f41bcd608e
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 15 Mar 2019 14:29:26 +0100
nr: more aliases
- move `dep2nix` and `go2nix` to `dev.go` profile
- add `http` alias (`httpie` package)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/profiles/dev.go.nix b/modules/profiles/dev.go.nix
@@ -47,6 +47,8 @@ in
xdg.configFile."nr/go" = {
text = builtins.toJSON [
{cmd = "pprof"; chan = "unstable";}
+ {cmd = "go2nix"; }
+ {cmd = "dep2nix"; }
];
onChange = "${pkgs.nur.repos.vdemeester.nr}/bin/nr go";
};
diff --git a/modules/profiles/fish.nix b/modules/profiles/fish.nix
@@ -37,11 +37,12 @@ in
xdg.configFile."fish/functions/fish_right_prompt.fish".source = ./assets/fish/fish_right_prompt.fish;
xdg.configFile."nr/default" = {
text = builtins.toJSON [
- {cmd = "ncdu";} {cmd = "sshfs";} {cmd = "gotop";} {cmd = "pandoc";} {cmd = "dep2nix";} {cmd = "go2nix";}
+ {cmd = "ncdu";} {cmd = "sshfs";} {cmd = "gotop";} {cmd = "pandoc";}
{cmd = "lspci"; pkg = "pciutils";}
{cmd = "lsusb"; pkg = "usbutils";}
{cmd = "wakeonlan"; pkg = "python36Packages.wakeonlan";}
{cmd = "beet"; pkg = "beets";}
+ {cmd = "http"; pkg = "httpie"; }
{cmd = "nix-prefetch-git"; pkg = "nix-prefetch-scripts";}
{cmd = "nix-prefetch-hg"; pkg = "nix-prefetch-scripts";}
{cmd = "op"; pkg = "_1password"; chan = "unstable";}