From 0415fb5f8d6ad0d5e7d31eb2703aeaf2f1aff563 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 8 Mar 2024 14:17:40 +0100 Subject: [PATCH] Add personal package. --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 5 +++++ home-manager/home.nix | 3 ++- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index ada1283..d5005f4 100644 --- a/flake.lock +++ b/flake.lock @@ -131,6 +131,26 @@ "type": "github" } }, + "hb-downloader": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709842694, + "narHash": "sha256-hRXVMwKWWThizUjtXAgqoalNiVA6EZ/DqPoqSOWEYa8=", + "ref": "refs/heads/main", + "rev": "06dcf341605181c8b7889d3bf20d436e0495410d", + "revCount": 4, + "type": "git", + "url": "file:///home/crony/Documents/develop/hb-downloader" + }, + "original": { + "type": "git", + "url": "file:///home/crony/Documents/develop/hb-downloader" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -265,6 +285,7 @@ }, "root": { "inputs": { + "hb-downloader": "hb-downloader", "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixvim": "nixvim" diff --git a/flake.nix b/flake.nix index 6472955..e6769c7 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,11 @@ url = "github:nix-community/nixvim"; inputs.nixpkgs.follows = "nixpkgs"; }; + + hb-downloader = { + url = "git+file:///home/crony/Documents/develop/hb-downloader"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs@{ self, nixpkgs, home-manager, ... }: { diff --git a/home-manager/home.nix b/home-manager/home.nix index 82786cd..eb8b3b8 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ inputs, pkgs, ... }: { # Basic user info @@ -61,6 +61,7 @@ prismlauncher # Best minecraft launcher aria2 # Fast download manager starsector # Nice little game I got coaxed into trying + inputs.hb-downloader.packages.${pkgs.system}.default # My custom humble bundle bulk link extractor for aria2 list format (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (retroarch.override { cores = with libretro; [ snes9x ]; }) ];