share transient dependencies

This commit is contained in:
Noa Aarts 2025-10-27 20:26:34 +01:00
parent 5784fc9606
commit 4654be75cc
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 208 additions and 540 deletions

111
flake.nix
View file

@ -2,11 +2,40 @@
description = "Nixos config flake";
inputs = {
# transient inputs
advisory-db = {
url = "github:rustsec/advisory-db";
flake = false;
};
crane = {
url = "github:ipetkov/crane";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs = {
systems.follows = "systems";
};
};
systems = {
url = "github:nix-systems/default";
};
# main inputs
nixpkgs.url = "github:nixos/nixpkgs/master";
# nix based ssg
nixsg.url = "github:itepastra/nixsg";
#nixsg.url = "/home/noa/Documents/programming/nixsg";
home-manager = {
url = "github:nix-community/home-manager";
@ -14,53 +43,109 @@
};
# for secret management
agenix.url = "github:ryantm/agenix";
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
systems.follows = "systems";
};
};
# SSO thingy
authentik.url = "github:nix-community/authentik-nix";
authentik = {
url = "github:nix-community/authentik-nix";
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
flake-compat.follows = "flake-compat";
};
};
# Wallpaper
automapaper = {
url = "github:itepastra/automapaper";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
# declarative disk partitioning
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
# discord bot for libqalculate
disqalculate = {
url = "github:itepastra/disqalculate";
inputs = {
nixpkgs.follows = "nixpkgs";
advisory-db.follows = "advisory-db";
crane.follows = "crane";
flake-utils.follows = "flake-utils";
};
};
# various hardware configurations
hardware.url = "github:NixOS/nixos-hardware/master";
# pixelflut stress test tool
tsunami = {
url = "github:itepastra/tsunami";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
advisory-db.follows = "advisory-db";
crane.follows = "crane";
flake-utils.follows = "flake-utils";
};
};
# pixelflut server
flurry = {
url = "github:itepastra/flurry";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
advisory-db.follows = "advisory-db";
crane.follows = "crane";
tsunami.follows = "tsunami";
};
};
# alternative nix implementation
lix = {
url = "git+https://git.lix.systems/lix-project/lix.git";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-compat.follows = "flake-compat";
};
};
# module for lix
lix-module = {
url = "git+https://git.lix.systems/lix-project/nixos-module.git";
inputs.nixpkgs.follows = "nixpkgs";
inputs.lix.follows = "lix";
inputs = {
nixpkgs.follows = "nixpkgs";
lix.follows = "lix";
flake-utils.follows = "flake-utils";
};
};
qubit-quilt = {
url = "github:itepastra/Quantum-surface-application";
};
# declarative vencord client
nixcord.url = "github:kaylorben/nixcord";
nixcord = {
url = "github:kaylorben/nixcord";
inputs = {
flake-parts.follows = "flake-parts";
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
};
};
# for styling apps etc in a consistent theme
stylix.url = "github:danth/stylix";
stylix = {
url = "github:danth/stylix";
inputs = {
systems.follows = "systems";
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
nur.inputs.flake-parts.follows = "flake-parts";
};
};
};
outputs =