generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
58 lines (48 loc) · 2.08 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# This file describes your repository contents.
# It should return a set of nix derivations
# and optionally the special attributes `lib`, `modules` and `overlays`.
# It should NOT import <nixpkgs>. Instead, you should take pkgs as an argument.
# Having pkgs default to <nixpkgs> is fine though, and it lets you use short
# commands such as:
# nix-build -A mypackage
{ pkgs ? import <nixpkgs> { } }:
let
p = pkgs.callPackage;
in rec {
# The `lib`, `modules`, and `overlay` names are special
lib = import ./lib; # functions
modules = import ./modules; # NixOS modules
overlays = import ./overlays; # nixpkgs overlays
# Soundfonts
soundfont-touhou = p ./pkgs/soundfonts/touhou { };
# Games (Native)
celeste-classic = p ./pkgs/games/native/celeste-classic { };
celeste-classic-pm = celeste-classic.override { practiceMod = true; };
celeste-classic-2 = p ./pkgs/games/native/celeste-classic-2 { };
# Games (Wine)
wrapWine = p ./pkgs/wrapWine.nix { };
celeste = p ./pkgs/games/wine/celeste { inherit wrapWine; };
celesteMods = p ./pkgs/games/wine/celeste/mods.nix { };
# Overrides
obs-wayland = (pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-pipewire-audio-capture
];
});
cascadia-code-nerd-font = (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
cascadia-mono-nerd-font = (pkgs.nerdfonts.override { fonts = [ "CascadiaMono" ]; });
# Fetchers
# note: zip suffix doesn't mean that only zip archives are supported,
# so that's why gz here is like an generic term for compression algorithms
# source: https://www.reddit.com/r/NixOS/comments/kqe57g/comment/gi3uii6
# https://discourse.nixos.org/t/fetchurl-with-compressed-files/39823
# TODO: add support for .gz, ...
fetchzip-gz = p ./pkgs/fetchers/fetchzip-gz { };
fetchurl-gz = p ./pkgs/fetchers/fetchurl-gz { };
# Audio
reaper-sws-extension = p ./pkgs/audio/reaper-sws-extension { };
neural-amp-modeler-lv2 = p ./pkgs/audio/neural-amp-modeler-lv2 { };
artworks = p ./pkgs/audio/artworks { };
nam-trainer = p ./pkgs/audio/nam-trainer { };
}