mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 05:20:42 +08:00
26 lines
994 B
Nix
26 lines
994 B
Nix
inputs:
|
|
{
|
|
options.nixos.packages.extra = let inherit (inputs.lib) mkOption types; in mkOption
|
|
{ type = types.nullOr (types.submodule {}); default = null; };
|
|
config = let inherit (inputs.config.nixos.packages) extra; in inputs.lib.mkIf (extra != null)
|
|
{
|
|
nixos.packages.packages._packages = with inputs.pkgs;
|
|
[
|
|
ventoy-full
|
|
davinci-resolve
|
|
fluffychat signal-desktop qq cinny-desktop hexchat halloy
|
|
appflowy notion-app-enhanced joplin-desktop logseq obsidian code-cursor
|
|
warp-terminal
|
|
rustdesk-flutter
|
|
yubikey-manager-qt yubikey-personalization-gui electrum jabref john crunch
|
|
wgetpaste onedrive onedrivegui rclone
|
|
];
|
|
programs =
|
|
{
|
|
anime-game-launcher = { enable = true; package = inputs.pkgs.anime-game-launcher; };
|
|
honkers-railway-launcher = { enable = true; package = inputs.pkgs.honkers-railway-launcher; };
|
|
sleepy-launcher = { enable = true; package = inputs.pkgs.sleepy-launcher; };
|
|
};
|
|
};
|
|
}
|