42 lines
898 B
Nix
42 lines
898 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
system,
|
|
inputs,
|
|
...
|
|
}: let
|
|
# Fetch the entire repository from Gitea
|
|
# This creates a path in the Nix store containing the repo's contents
|
|
caelestia = pkgs.fetchFromGitHub {
|
|
owner = "liperium"; # The repository owner
|
|
repo = "caelestia-shell"; # The repository name
|
|
rev = "main"; # Or a specific commit hash/tag like "v1.0"
|
|
hash = "sha256-s7UodKNURqtFYARD+qjhxnm17uocuz0A3znPneZMDxM="; # Set this to "" or a dummy value first
|
|
};
|
|
in {
|
|
imports = [
|
|
];
|
|
home.packages = with pkgs; [
|
|
inputs.quickshell.packages.${system}.default
|
|
fish
|
|
jq
|
|
fd
|
|
(pkgs.python3.withPackages (python-pkgs:
|
|
with python-pkgs; [
|
|
aubio
|
|
pyaudio
|
|
numpy
|
|
]))
|
|
cava
|
|
bluez
|
|
ddcutil
|
|
brightnessctl
|
|
curl
|
|
material-symbols
|
|
];
|
|
home.file.".config/quickshell/caelestia" = {
|
|
source = caelestia;
|
|
};
|
|
}
|