nixos-configs/inputs.nix
matt1432 2e3612b7fb
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'agsV2':
    'github:Aylur/ags/a93f0ac' (2024-10-16)
  → 'github:Aylur/ags/b7f3896' (2024-10-19)

• Updated input 'astal':
    'github:Aylur/astal/f763c44' (2024-10-18)
  → 'github:Aylur/astal/bfb7e27' (2024-10-20)

• Updated input 'custom-sidebar-src':
    'github:elchininet/custom-sidebar/fcada91' (2024-10-15)
  → 'github:elchininet/custom-sidebar/80942f5' (2024-10-21)

• Updated input 'home-manager':
    'github:nix-community/home-manager/09a0c0c' (2024-10-18)
  → 'github:nix-community/home-manager/1e27f21' (2024-10-20)

• Updated input 'hyprland':
    'github:hyprwm/Hyprland/0e630e9' (2024-10-17)
  → 'github:hyprwm/Hyprland/62ee5cc' (2024-10-19)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/79f0e31' (2024-10-18)
  → 'github:fufexan/nix-gaming/177e270' (2024-10-20)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/5c54c33' (2024-10-13)
  → 'github:Mic92/nix-index-database/04f8a11' (2024-10-20)

• Updated input 'nixd':
    'github:nix-community/nixd/c38702b' (2024-10-01)
  → 'github:nix-community/nixd/d3c7e56' (2024-10-20)

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5785b6b' (2024-10-16)
  → 'github:NixOS/nixpkgs/4c2fcb0' (2024-10-18)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18)
  → 'github:nix-community/nixpkgs-wayland/7c64c3c' (2024-10-20)

• Updated input 'pokemon-colorscripts-src':
    'gitlab:phoneybadger/pokemon-colorscripts/0483c85' (2022-10-28)
  → 'gitlab:phoneybadger/pokemon-colorscripts/5802ff6' (2024-10-19)

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/06535d0' (2024-10-08)
  → 'github:Mic92/sops-nix/c504fd7' (2024-10-20)

• Updated input 'spotifywebapi-src':
    'github:thlucas1/SpotifyWebApiPython/4bb0658' (2024-10-14)
  → 'github:thlucas1/SpotifyWebApiPython/8c6aff1' (2024-10-19)

• Updated input 'tuya-local-src':
    'github:make-all/tuya-local/587d622' (2024-10-18)
  → 'github:make-all/tuya-local/38744c0' (2024-10-21)

Docker Images:
• rssbridge/rss-bridge latest:
   sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889
 → sha256:42b4d1d1e3fb2c361a3a2fe2921a847bbdcd0d6d14a4d411482665fc4560a58d
2024-10-20 21:42:54 -04:00

387 lines
7.3 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";
};
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";
# FIXME: wait for hyprgrass and hyprland-plugins to chase hyprland
rev = "62ee5cc2739d70570dbe143c9bd75d00a51db942";
};
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
## Components
{
name = "extended-ollama-conversation-src";
owner = "TheNimaj";
repo = "extended_ollama_conversation";
}
{
owner = "m50";
repo = "ha-fallback-conversation";
}
{
owner = "make-all";
repo = "tuya-local";
}
{
name = "netdaemon-src";
owner = "net-daemon";
repo = "integration";
}
### SpotifyPlus
{
name = "spotifyplus-src";
owner = "thlucas1";
repo = "homeassistantcomponent_spotifyplus";
}
{
name = "smartinspect-src";
owner = "thlucas1";
repo = "SmartInspectPython";
}
{
name = "spotifywebapi-src";
owner = "thlucas1";
repo = "SpotifyWebApiPython";
}
###
## Voice
{
name = "wakewords-src";
owner = "fwartner";
repo = "home-assistant-wakewords-collection";
}
## Themes
{
owner = "berti24";
repo = "dracul-ha";
}
{
name = "caule-themes-src";
owner = "ricardoquecria";
repo = "caule-themes-pack-1";
}
{
owner = "Nerwyn";
repo = "material-rounded-theme";
}
## Lovelace Components
{
owner = "beecho01";
repo = "material-symbols";
}
{
owner = "elchininet";
repo = "custom-sidebar";
}
# 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.6";
}
{
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));
}