matt1432
92398d5cbf
All checks were successful
Discord / discord commits (push) Has been skipped
Flake Inputs: • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/d558ffa' (2024-07-20) → 'github:matt1432/discord-nightly-overlay/02c87d4' (2024-07-23) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=da73b3a' (2024-07-22) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=7d719a4' (2024-07-23) • Updated input 'home-manager': 'github:nix-community/home-manager/635563f' (2024-07-21) → 'github:nix-community/home-manager/7560dc9' (2024-07-23) • Updated input 'hyprland' • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine/4c72cd4' (2024-07-23) → 'github:hyprwm/aquamarine/601f6cf' (2024-07-21) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/464172e' (2024-07-22) → 'github:nix-community/neovim-nightly-overlay/0380256' (2024-07-23) • Updated input 'neovim-nightly/neovim-src': 'github:neovim/neovim/7381f0a' (2024-07-21) → 'github:neovim/neovim/9322b7e' (2024-07-22) • Updated input 'nixd': 'github:nix-community/nixd/87135e0' (2024-07-21) → 'github:nix-community/nixd/86dc0ba' (2024-07-23) Docker Images: • postgres 14: sha256:2f7365d1f574dba34f6332978169afe60af9de9608fffbbfecb7d04cc5233698 → sha256:0c9b69b804edbfd211b8cdfc87ac4c79db52dbcc8fb8c278d07136db2f79fe6c • postgres 15-alpine: sha256:ede3a168dae0d2154440c2b1b2c7773201bfa969d85a1859c44b6f4ab2df0ef7 → sha256:d98d4ee225766374077e2d689a4a20be9195c0c112dfc36ff9b54701d279e221 • nginx latest: sha256:67682bda769fae1ccf5183192b8daf37b64cae99c6c3302650f6f8bf5f0f95df → sha256:05ab1728068284cbd42d54554fa2b69a3d6334adafccf2e70cf20925d7d55e90 • nextcloud 29.0.4-fpm: sha256:d2dc74b2ce5fc6b06e1bf454320bb6388817757b41314a0214af4eac278a3c42 → sha256:dd4306e19bb2992246f837e50541b7baf010f47954e3afcf65cafd10657f365d
311 lines
5.8 KiB
Nix
311 lines
5.8 KiB
Nix
let
|
|
inherit (builtins) listToAttrs map removeAttrs;
|
|
|
|
# Misc functions
|
|
mkInput = {type ? "github", ...} @ info: info // {inherit type;};
|
|
mkDep = info: (mkInput info) // {inputs.nixpkgs.follows = "nixpkgs";};
|
|
mkHyprDep = info: (mkInput info) // {inputs.hyprland.follows = "hyprland";};
|
|
mkSrc = info: (mkInput info) // {flake = false;};
|
|
|
|
# Inputs
|
|
nixTools = {
|
|
nurl = mkDep {
|
|
owner = "matt1432";
|
|
repo = "nurl";
|
|
};
|
|
|
|
nix-index-db = mkDep {
|
|
owner = "Mic92";
|
|
repo = "nix-index-database";
|
|
};
|
|
|
|
nh = mkDep {
|
|
owner = "viperML";
|
|
repo = "nh";
|
|
};
|
|
|
|
nix-melt = mkDep {
|
|
owner = "nix-community";
|
|
repo = "nix-melt";
|
|
};
|
|
|
|
mozilla-addons-to-nix = mkDep {
|
|
type = "sourcehut";
|
|
owner = "~rycee";
|
|
repo = "mozilla-addons-to-nix";
|
|
};
|
|
};
|
|
|
|
overlays = {
|
|
nixpkgs-wayland = mkDep {
|
|
owner = "nix-community";
|
|
repo = "nixpkgs-wayland";
|
|
};
|
|
|
|
nix-gaming = mkDep {
|
|
owner = "fufexan";
|
|
repo = "nix-gaming";
|
|
};
|
|
};
|
|
|
|
nvimInputs = {
|
|
neovim-nightly = mkDep {
|
|
owner = "nix-community";
|
|
repo = "neovim-nightly-overlay";
|
|
};
|
|
|
|
# uses nixVersions.nix_2_19
|
|
nixd = mkDep {
|
|
owner = "nix-community";
|
|
repo = "nixd";
|
|
};
|
|
};
|
|
|
|
clusterInputs = {
|
|
pcsd = mkDep {
|
|
owner = "matt1432";
|
|
repo = "nixos-pcsd";
|
|
};
|
|
|
|
headscale = mkDep {
|
|
owner = "juanfont";
|
|
repo = "headscale";
|
|
};
|
|
|
|
caddy-plugins = mkDep {
|
|
owner = "matt1432";
|
|
repo = "nixos-caddy-cloudflare";
|
|
};
|
|
};
|
|
|
|
serviviInputs = {
|
|
minix = mkDep {
|
|
owner = "matt1432";
|
|
repo = "Minix";
|
|
};
|
|
|
|
nix-eval-jobs = mkDep {
|
|
owner = "nix-community";
|
|
repo = "nix-eval-jobs";
|
|
};
|
|
|
|
nix-fast-build = mkDep {
|
|
owner = "Mic92";
|
|
repo = "nix-fast-build";
|
|
};
|
|
};
|
|
|
|
nosInputs = {
|
|
arion = mkDep {
|
|
owner = "hercules-ci";
|
|
repo = "arion";
|
|
};
|
|
|
|
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 {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
};
|
|
|
|
hyprland-plugins = mkHyprDep {
|
|
owner = "hyprwm";
|
|
repo = "hyprland-plugins";
|
|
|
|
# type = "path";
|
|
# path = "/home/matt/git/hyprland-plugins";
|
|
};
|
|
|
|
Hyprspace = mkHyprDep {
|
|
owner = "KZDKM";
|
|
repo = "Hyprspace";
|
|
};
|
|
|
|
hyprgrass = mkHyprDep {
|
|
owner = "horriblename";
|
|
repo = "hyprgrass";
|
|
};
|
|
|
|
grim-hyprland = mkDep {
|
|
owner = "eriedaberrie";
|
|
repo = "grim-hyprland";
|
|
};
|
|
|
|
discord-overlay = mkDep {
|
|
owner = "matt1432";
|
|
repo = "discord-nightly-overlay";
|
|
};
|
|
};
|
|
|
|
agsInputs = {
|
|
ags = mkDep {
|
|
owner = "Aylur";
|
|
repo = "ags";
|
|
};
|
|
|
|
astal-tray = mkDep {
|
|
owner = "astal-sh";
|
|
repo = "tray";
|
|
};
|
|
|
|
gtk-session-lock = mkDep {
|
|
owner = "Cu3PO42";
|
|
repo = "gtk-session-lock";
|
|
};
|
|
|
|
astal = mkDep {
|
|
owner = "Aylur";
|
|
repo = "Astal";
|
|
};
|
|
};
|
|
};
|
|
|
|
srcs = [
|
|
# 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";
|
|
}
|
|
|
|
# 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 = "jellyfin-ultrachromic-src";
|
|
owner = "CTalvio";
|
|
repo = "Ultrachromic";
|
|
}
|
|
{
|
|
name = "bat-theme-src";
|
|
owner = "matt1432";
|
|
repo = "bat";
|
|
}
|
|
{
|
|
owner = "Godiesc";
|
|
repo = "firefox-gx";
|
|
rev = "9afe9948758871f3944e8a83046c8a51039e883a";
|
|
}
|
|
{
|
|
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 =
|
|
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));
|
|
}
|