Commit 4c1264b9445e

Vincent Demeester <vincent@sbr.pm>
2019-03-15 14:29:26
nr: more aliases
- move `dep2nix` and `go2nix` to `dev.go` profile - add `http` alias (`httpie` package) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent bc181c3
Changed files (2)
modules
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";
       };
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";}