wip: prepare for nix

This commit is contained in:
Fabio Lenherr / DashieTM 2024-04-14 14:43:43 +02:00
parent 79ed239d07
commit 6671b54dd2
32 changed files with 1282 additions and 43 deletions

40
nix/programs/cargo.nix Normal file
View file

@ -0,0 +1,40 @@
{ inputs
, lib
, pkgs
, rustPlatform
, ...
}: {
imports = [
./config.nix
./anyrun.nix
./ironbar.nix
];
home.packages = with pkgs; [
(rustPackage {
name = "oxinoti";
version = "0.1.1";
src = fetchCrate {
inherit name version;
sha256 = lib.fakesha256;
};
})
(rustPackage {
name = "oxidash";
version = "0.1.0";
src = fetchCrate {
inherit name version;
sha256 = lib.fakesha256;
};
})
(rustPackage {
name = "oxishut";
version = "0.1.0";
src = fetchCrate {
inherit name version;
sha256 = lib.fakesha256;
};
})
];
}