about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/yt/flake.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-20 18:38:18 +0100
committerSoispha <soispha@vhack.eu>2024-01-20 18:38:18 +0100
commitb53a8d82a07c29010a690b7126795fd7ddcabe0c (patch)
tree203dd0581950f9acb75881383d4b6fbc849e91af /sys/nixpkgs/pkgs/yt/flake.nix
parentfix(sys/nixpkgs/yt/constants): Add extension to last selection path (diff)
downloadnixos-config-b53a8d82a07c29010a690b7126795fd7ddcabe0c.tar.gz
nixos-config-b53a8d82a07c29010a690b7126795fd7ddcabe0c.zip
feat(sys/nixpkgs/yt): Add support for the 'url' command
This simply opens the youtube url in the browser
Diffstat (limited to 'sys/nixpkgs/pkgs/yt/flake.nix')
-rw-r--r--sys/nixpkgs/pkgs/yt/flake.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/yt/flake.nix b/sys/nixpkgs/pkgs/yt/flake.nix
new file mode 100644
index 00000000..5f711304
--- /dev/null
+++ b/sys/nixpkgs/pkgs/yt/flake.nix
@@ -0,0 +1,36 @@
+{
+  description = "yt";
+
+  inputs = {
+    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
+    flake-utils.url = "github:numtide/flake-utils";
+  };
+
+  outputs = {
+    self,
+    nixpkgs,
+    flake-utils,
+  }: (flake-utils.lib.eachDefaultSystem (system: let
+    pkgs = nixpkgs.legacyPackages."${system}";
+  in {
+    devShells.default = pkgs.mkShell {
+      packages = with pkgs; [
+        # rust stuff
+        cargo
+        cargo-clippy
+        cargo-fmt
+        clippy-driver
+        rust-gdb
+        rust-gdbgui
+        rust-lldb
+        rustc
+        rustdoc
+        rustfmt
+
+        cargo-edit
+        cargo-expand
+      ];
+    };
+  }));
+}