mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
Add winetricks
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
c1ddc6a7c7
commit
acd4f809a0
|
@ -131,6 +131,7 @@
|
|||
easy-hls-nix = import ./overlays/easy-hls-nix inputs.easy-hls-nix;
|
||||
mainsail = import ./overlays/mainsail inputs.nixng.lib;
|
||||
discord-canary = import "${inputs.yusdacra-dotfiles}/overlays/discord-canary-system.nix";
|
||||
winetricks = import ./overlays/winetricks;
|
||||
};
|
||||
|
||||
nixosModules = {
|
||||
|
@ -160,6 +161,7 @@
|
|||
shh = mkPkg "shh";
|
||||
mainsail = mkPkg "mainsail";
|
||||
easy-hls-nix = if system == "x86_64-linux" then mkPkg "easy-hls-nix" else (import nixpkgs-unstable { inherit system; }).hello;
|
||||
winetricks = mkPkg "winetricks";
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
13
nix/overlays/winetricks/default.nix
Normal file
13
nix/overlays/winetricks/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
final: prev:
|
||||
{
|
||||
winetricks = prev.winetricks.overrideAttrs (_:
|
||||
{
|
||||
src = final.fetchFromGitHub {
|
||||
rev = "fa11b11a91a984666bf83b42e09be33ec0d6b294";
|
||||
sha256 = "sha256-exMhj3dS8uXCEgOaWbftaq94mBOmtZIXsXb9xNX5ha8=";
|
||||
owner = "Winetricks";
|
||||
repo = "winetricks";
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue