first commit

This commit is contained in:
2024-09-24 14:45:35 -04:00
commit 861581a551
494 changed files with 18382 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim = {
url = "path:packages/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
toilet = {
url = "path:packages/toilet";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixvim, toilet, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
# Consolidating packages into a single one
packages.${system} = {
default = pkgs.stdenv.mkDerivation {
name = "desktop-env-tools";
src = ./.;
buildInputs = [
nixvim.packages.${system}.default
toilet.packages.${system}.default
];
installPhase = ''
mkdir -p $out/bin
ln -s ${nixvim.packages.${system}.default}/bin/nvim $out/bin/nvim
ln -s ${toilet.packages.${system}.default}/bin/toilet $out/bin/toilet
'';
};
};
};
}