moved deviations living under horizon to common shared folder
This commit is contained in:
parent
210a4084f7
commit
7923f493eb
5 changed files with 21 additions and 8 deletions
|
@ -15,6 +15,7 @@
|
|||
./ai.nix
|
||||
./tailscale.nix
|
||||
./server
|
||||
./packages
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
|
|
17
modules/nixos-modules/packages/default.nix
Normal file
17
modules/nixos-modules/packages/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
webtoon-dl =
|
||||
pkgs.callPackage
|
||||
./webtoon-dl.nix
|
||||
{};
|
||||
})
|
||||
# TODO: this package always needs to be called with the --in-process-gpu flag for some reason, can we automate that?
|
||||
(final: prev: {
|
||||
prostudiomasters =
|
||||
pkgs.callPackage
|
||||
./prostudiomasters.nix
|
||||
{};
|
||||
})
|
||||
];
|
||||
}
|
14
modules/nixos-modules/packages/prostudiomasters.nix
Normal file
14
modules/nixos-modules/packages/prostudiomasters.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
fetchurl,
|
||||
appimageTools,
|
||||
}: let
|
||||
pname = "prostudiomasters";
|
||||
version = "2.5.6";
|
||||
src = fetchurl {
|
||||
url = "https://download.prostudiomasters.com/linux/ProStudioMasters-${version}.AppImage";
|
||||
hash = "sha256-7owOwdcucFfl+JsVj+Seau2KOz0J4P/ep7WrBSNSmbs=";
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
}
|
18
modules/nixos-modules/packages/webtoon-dl.nix
Normal file
18
modules/nixos-modules/packages/webtoon-dl.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "webtoon-dl";
|
||||
version = "0.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robinovitch61";
|
||||
repo = "webtoon-dl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-geVb3LFPZxPQYARZnaqOr5sgaN6mqkEX5ZiLvg8mF5k=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-NTqUygJ6b6kTnLUnJqxCo/URzaRouPLACEPi2Ob1s9w=";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue