diff --git a/flake.lock b/flake.lock index d7003a6..11ef6bb 100644 --- a/flake.lock +++ b/flake.lock @@ -38,6 +38,24 @@ "type": "github" } }, + "haskell-nix": { + "info": { + "lastModified": 1587989559, + "narHash": "sha256-5GwV9ueo7jX0/sbU9+YLUzkqY9cSDwQp3VCimYRuSlY=" + }, + "locked": { + "owner": "serokell", + "repo": "haskell.nix", + "rev": "a562ef6eec71672e3f414f76cc7c751466e1d099", + "type": "github" + }, + "original": { + "owner": "serokell", + "ref": "flake", + "repo": "haskell.nix", + "type": "github" + } + }, "home-manager": { "info": { "lastModified": 1587442074, @@ -201,6 +219,24 @@ "type": "github" } }, + "nixpkgs_4": { + "flake": false, + "info": { + "lastModified": 1587390417, + "narHash": "sha256-dLQebnBviLNiN2Ei3Iqyxm73EFwz77YcvitvMYwRNA8=" + }, + "locked": { + "owner": "serokell", + "repo": "nixpkgs", + "rev": "6951747f4f4e9e27580150eb91587af94e41640d", + "type": "github" + }, + "original": { + "owner": "serokell", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "NUR": "NUR", @@ -214,7 +250,8 @@ "nixpkgs-wayland": "nixpkgs-wayland", "simple-nixos-mailserver": "simple-nixos-mailserver", "weechat-notify-send": "weechat-notify-send", - "weechat-scripts": "weechat-scripts" + "weechat-scripts": "weechat-scripts", + "yt-utilities": "yt-utilities" } }, "simple-nixos-mailserver": { @@ -271,6 +308,28 @@ "repo": "scripts", "type": "github" } + }, + "yt-utilities": { + "info": { + "lastModified": 1588000814, + "narHash": "sha256-mfNM9UsEcmdBzzeKixbWWwy9GtScF57/7xxzSBcQbYc=", + "revCount": 288 + }, + "inputs": { + "haskell-nix": "haskell-nix", + "nixpkgs": "nixpkgs_4" + }, + "locked": { + "ref": "flake", + "rev": "5155de6cbdbf45905e1978cc43004e2cf75c0fe2", + "type": "git", + "url": "ssh://git@github.com/serokell/yt-utilities" + }, + "original": { + "ref": "flake", + "type": "git", + "url": "ssh://git@github.com/serokell/yt-utilities" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 8cc0183..eab2e76 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,11 @@ repo = "weechat-notify-send"; flake = false; }; + yt-utilities = { + type = "git"; + url = "ssh://git@github.com/serokell/yt-utilities"; + ref = "flake"; + }; }; outputs = { nixpkgs, ... }@inputs: { diff --git a/modules/applications/packages.nix b/modules/applications/packages.nix index e1e54cf..650de5d 100644 --- a/modules/applications/packages.nix +++ b/modules/applications/packages.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, ... }: { +{ pkgs, config, lib, inputs, ... }: { programs.adb.enable = true; environment.systemPackages = with pkgs; @@ -67,6 +67,7 @@ nix-patch waypipe cachix + inputs.yt-utilities.packages.x86_64-linux.yt-utilities ] ++ (with pkgs.kdeApplications; [ ark dolphin