nixos-configs/inputs.nix
matt1432 50f5bf6b0e
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'astal':
    'github:Aylur/astal/9e63fe3' (2024-09-28)
  → 'github:Aylur/astal/f17b28d' (2024-09-29)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=ebc8c69' (2024-09-27)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=0eb9ce0' (2024-09-29)

• Updated input 'hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/912d560' (2024-08-02)
  → 'github:hyprwm/hyprcursor/b98726e' (2024-09-28)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/b9750ee' (2024-09-28)
  → 'github:fufexan/nix-gaming/6401744' (2024-09-29)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=e42043a&submodules=1' (2024-09-19)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=5cc1c3f&submodules=1' (2024-09-25)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/c7515c2' (2024-09-22)
  → 'github:Mic92/nix-index-database/a2ab158' (2024-09-29)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/811af6a' (2024-09-27)
  → 'github:nix-community/nixpkgs-wayland/206b2a2' (2024-09-29)

• Updated input 'spotifyplus-src':
    'github:thlucas1/homeassistantcomponent_spotifyplus/f017285' (2024-09-28)
  → 'github:thlucas1/homeassistantcomponent_spotifyplus/0765d55' (2024-09-29)

Docker Images:
• ghcr.io/linuxserver/radarr latest:
   sha256:1a50d4f08e283aa9ff4c723b940dceb4e8aeff7946e1993213efd0de3d5a4adb
 → sha256:d758c5a5edc4cda1263260948b3f460f511430bccea505dca3cb70af01332ff8
2024-09-29 16:31:31 -04:00

353 lines
6.8 KiB
Nix

let
inherit (import ./lib {}) mkDep mkInput mkHyprDep mkSrc;
inherit (builtins) listToAttrs map removeAttrs;
# Inputs
nixTools = {
nix-fast-build = mkDep {
owner = "Mic92";
repo = "nix-fast-build";
};
nix-index-db = mkDep {
owner = "Mic92";
repo = "nix-index-database";
};
nh = mkDep {
owner = "viperML";
repo = "nh";
};
# These are here to make sure all 'systems' are the same
flake-utils = mkInput {
owner = "numtide";
repo = "flake-utils";
};
flake-parts = mkInput {
owner = "hercules-ci";
repo = "flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
treefmt-nix = mkDep {
owner = "numtide";
repo = "treefmt-nix";
};
lib-aggregate = mkInput {
owner = "nix-community";
repo = "lib-aggregate";
};
};
overlays = {
nixpkgs-wayland = mkDep {
owner = "nix-community";
repo = "nixpkgs-wayland";
};
nix-gaming = mkDep {
owner = "fufexan";
repo = "nix-gaming";
};
};
nvimInputs = {
# uses nixVersions.nix_2_19
nixd = mkDep {
owner = "nix-community";
repo = "nixd";
};
};
clusterInputs = {
pcsd = mkDep {
owner = "matt1432";
repo = "nixos-pcsd";
};
# FIXME: use nixpkgs once this reaches unstable https://pr-tracker.nelim.org/?pr=340054
headscale = mkDep {
owner = "juanfont";
repo = "headscale";
ref = "v0.23.0";
};
caddy-plugins = mkDep {
owner = "matt1432";
repo = "nixos-caddy-cloudflare";
};
};
serviviInputs = {
minix = mkDep {
owner = "matt1432";
repo = "Minix";
};
pr-tracker = mkDep {
owner = "matt1432";
repo = "pr-tracker";
};
};
nosInputs = {
khepri = mkDep {
owner = "matt1432";
repo = "khepri";
};
jellyfin-flake = mkDep {
owner = "matt1432";
repo = "nixos-jellyfin";
};
bazarr-bulk = mkDep {
owner = "mateoradman";
repo = "bazarr-bulk";
};
subsync = mkDep {
owner = "matt1432";
repo = "subsync";
# Keep version that uses Sphinxbase
rev = "ee9e1592ae4ec7c694d8857aa72be079d81ea209";
};
};
desktopInputs = {
hyprlandInputs = {
hyprland = mkDep {
owner = "hyprwm";
repo = "Hyprland";
};
hyprland-plugins = mkHyprDep {
owner = "hyprwm";
repo = "hyprland-plugins";
# type = "path";
# path = "/home/matt/git/hyprland-plugins";
};
hyprgrass = mkHyprDep {
owner = "horriblename";
repo = "hyprgrass";
};
hyprpaper = mkDep {
owner = "hyprwm";
repo = "hyprpaper";
inputs = {
hyprlang.follows = "hyprland/hyprlang";
hyprutils.follows = "hyprland/hyprutils";
hyprwayland-scanner.follows = "hyprland/hyprwayland-scanner";
nixpkgs.follows = "hyprland/nixpkgs";
systems.follows = "hyprland/systems";
};
};
grim-hyprland = mkDep {
owner = "eriedaberrie";
repo = "grim-hyprland";
};
discord-overlay = mkDep {
owner = "matt1432";
repo = "discord-nightly-overlay";
};
};
agsInputs = {
ags = mkDep {
owner = "Aylur";
repo = "ags";
};
agsV2 = mkDep {
owner = "Aylur";
repo = "ags";
ref = "v2";
inputs.astal.follows = "astal";
};
astal = mkDep {
owner = "Aylur";
repo = "astal";
};
gtk-session-lock = mkDep {
owner = "Cu3PO42";
repo = "gtk-session-lock";
};
};
};
srcs = [
# Home-assistant
{
name = "extended-ollama-conversation-src";
owner = "TheNimaj";
repo = "extended_ollama_conversation";
}
{
name = "spotifyplus-src";
owner = "thlucas1";
repo = "homeassistantcomponent_spotifyplus";
}
{
name = "smartinspect-src";
owner = "thlucas1";
repo = "SmartInspectPython";
}
{
name = "spotifywebapi-src";
owner = "thlucas1";
repo = "SpotifyWebApiPython";
}
{
name = "wakewords-src";
owner = "fwartner";
repo = "home-assistant-wakewords-collection";
}
{
owner = "berti24";
repo = "dracul-ha";
}
# Nvim plugins
{
name = "vimplugin-easytables-src";
owner = "Myzel394";
repo = "easytables.nvim";
}
{
name = "vimplugin-ts-error-translator-src";
owner = "dmmulroy";
repo = "ts-error-translator.nvim";
}
# Overlays & packages
{
owner = "rushsteve1";
repo = "trash-d";
}
{
type = "gitlab";
owner = "mishakmak";
repo = "pam-fprint-grosshack";
}
{
type = "gitlab";
owner = "phoneybadger";
repo = "pokemon-colorscripts";
}
{
name = "gpu-screen-recorder-src";
type = "git";
url = "https://repo.dec05eba.com/gpu-screen-recorder";
}
{
owner = "libratbag";
repo = "libratbag";
}
{
owner = "libratbag";
repo = "piper";
}
{
owner = "gjsify";
repo = "ts-for-gir";
}
{
owner = "jcnils";
repo = "protonhax";
}
# MPV scripts
{
name = "modernx-src";
owner = "cyl0";
repo = "ModernX";
}
{
owner = "d87";
repo = "mpv-persist-properties";
}
{
owner = "christoph-heinrich";
repo = "mpv-pointer-event";
}
{
owner = "christoph-heinrich";
repo = "mpv-touch-gestures";
}
{
name = "eisa-scripts-src";
owner = "Eisa01";
repo = "mpv-scripts";
}
## Theme sources
{
name = "bat-theme-src";
owner = "matt1432";
repo = "bat";
}
{
owner = "Godiesc";
repo = "firefox-gx";
ref = "v.9.5";
}
{
name = "git-theme-src";
owner = "dracula";
repo = "git";
}
{
name = "gtk-theme-src";
owner = "dracula";
repo = "gtk";
}
{
name = "nvim-theme-src";
owner = "Mofiqul";
repo = "dracula.nvim";
}
{
owner = "matt1432";
repo = "dracula-plymouth";
}
{
name = "sioyek-theme-src";
owner = "dracula";
repo = "sioyek";
}
];
in {
inherit mkDep mkInput mkSrc;
otherInputs =
{
flakegen = {
url = "github:jorsn/flakegen";
inputs.systems.follows = "systems";
};
}
// nixTools
// overlays
// nvimInputs
// clusterInputs
// serviviInputs
// nosInputs
// desktopInputs.hyprlandInputs
// desktopInputs.agsInputs
// (listToAttrs (map (x: {
name = x.name or "${x.repo}-src";
value = mkSrc (removeAttrs x ["name"]);
})
srcs));
}