diff --git a/flake.lock b/flake.lock index 26a5ef0..dee9ec7 100644 --- a/flake.lock +++ b/flake.lock @@ -362,6 +362,29 @@ "url": "https://git.pleshevski.ru/mynix/neovim" } }, + "mytools": { + "inputs": { + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1669324519, + "narHash": "sha256-GfqQ6TsoxYAFPq84ueLF0HACLtPk3r0FdK0Xk0QzEII=", + "ref": "refs/heads/main", + "rev": "50bb6b14a57a3953ff35afd189e244adca7d93bb", + "revCount": 2, + "type": "git", + "url": "https://git.pleshevski.ru/mynix/tools" + }, + "original": { + "type": "git", + "url": "https://git.pleshevski.ru/mynix/tools" + } + }, "neoformat": { "flake": false, "locked": { @@ -623,6 +646,7 @@ "home-manager": "home-manager", "mailserver": "mailserver", "myneovim": "myneovim", + "mytools": "mytools", "nil": "nil", "nixpkgs": "nixpkgs_2", "vnetod": "vnetod", diff --git a/flake.nix b/flake.nix index 8e1698e..96b2ca4 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,12 @@ # my neovim configuration myneovim.url = "git+https://git.pleshevski.ru/mynix/neovim"; + # my nix tools + mytools = { + url = "git+https://git.pleshevski.ru/mynix/tools"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-utils.follows = "flake-utils"; + }; # tool to change .env faster vnetod = { diff --git a/users/jan/default.nix b/users/jan/default.nix index 729961a..8701955 100644 --- a/users/jan/default.nix +++ b/users/jan/default.nix @@ -2,10 +2,11 @@ { nixpkgs.overlays = lib.mkAfter [ - inputs.wired.overlays.default inputs.myneovim.overlays.default - inputs.vnetod.overlays.default + inputs.mytools.overlays.all inputs.nil.overlays.default + inputs.vnetod.overlays.default + inputs.wired.overlays.default ]; programs.zsh.enable = true; diff --git a/users/modules/dev_tools.nix b/users/modules/dev_tools.nix index fb5f5ee..760d3fd 100644 --- a/users/modules/dev_tools.nix +++ b/users/modules/dev_tools.nix @@ -36,6 +36,7 @@ in bat # a cat clone with syntax highlighting and git integration ripgrep # a fuzzy finder vnetod # a tool to change env sections + d2 # text to diagram gnumake nixpkgs-fmt # nix formatter