added quickshell

This commit is contained in:
kenji
2025-07-07 20:01:00 -05:00
parent bd2465d356
commit b5a542a37c
5 changed files with 54 additions and 9 deletions
+8
View File
@@ -0,0 +1,8 @@
{inputs, ...}: {
imports = [
inputs.caelestia.nixosModules.default
{
services.caelestia-shell.enable = true;
}
];
}
+34 -9
View File
@@ -1,13 +1,38 @@
{pkgs, ...}: let
caelestia-shell = pkgs.fetchFromGitea {
domain = "git.sakamoto.dev"; # Or your self-hosted instance, e.g., "codeberg.org"
owner = "kenji";
repo = "caelestia-dots";
rev = "main"; # Or a specific commit hash or tag like "v1.0"
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; # !!! REPLACE THIS HASH !!!
{
config,
pkgs,
lib,
system,
...
}: 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-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Set this to "" or a dummy value first
};
in {
home.file.".config/quickshell" = {
source = caelestia-shell;
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;
};
}