Formated with alejandra

This commit is contained in:
Tomas Rivera
2026-04-13 15:32:01 +02:00
parent 0b2b88d41b
commit baaad664db
18 changed files with 1560 additions and 1545 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
caelestia-shell = { # based on quickshell. See https://github.com/caelestia-dots/shell
caelestia-shell = {
# based on quickshell. See https://github.com/caelestia-dots/shell
url = "github:caelestia-dots/shell";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
+7 -9
View File
@@ -8,10 +8,7 @@
libs,
inputs,
...
}:
{
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@@ -23,7 +20,6 @@
../../modules/nixos/udevsimple.nix
];
programs.nix-ld.enable = true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
documentation.man.generateCaches = true; # used for the man script
@@ -83,7 +79,8 @@
# zsh dont want to work if it is not initialzed here.
programs.zsh.enable = true;
security.wrappers.gsr-kms-server = { # to remove the password prompt when using gpu-screen-recorder
security.wrappers.gsr-kms-server = {
# to remove the password prompt when using gpu-screen-recorder
owner = "root";
group = "root";
capabilities = "cap_sys_admin+ep";
@@ -160,7 +157,6 @@
options = "--delete-older-than 7d"; # every week delete generations older than a month
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true; # Nonfree packages: Obsidian
@@ -223,7 +219,8 @@
krita # image edition
yt-dlp # some youtube downloader
vlc
(pkgs-unstable.python314.withPackages (ps: with ps; [
(pkgs-unstable.python314.withPackages (ps:
with ps; [
matplotlib
networkx
scipy
@@ -234,7 +231,8 @@
# utils for dev
pkg-config
gdb
raylib glfw # raylib and some dependecies
raylib
glfw # raylib and some dependecies
rembg # background remover
#some nix tools
manix
+4 -2
View File
@@ -92,7 +92,8 @@
pkgs.gruvbox-gtk-theme
pkgs.biber
(pkgs.texliveMedium.withPackages (
ps: with ps; [
ps:
with ps; [
# these few pkgs are used in the CV template
titlesec # allows creating custom \section
marvosym # some symboles
@@ -125,7 +126,8 @@
footmisc
#(setq org-latex-compiler "lualatex")
#(setq org-preview-latex-default-process 'dvisvgm)
]))
]
))
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
+15 -10
View File
@@ -4,13 +4,12 @@
pkgs-unstable,
caelestia-shell,
...
}:
let
}: let
sisyphe = ../../assets/sisyphe.gif;
pepe-music = ../../assets/pepe-music.gif;
in {
home.file.".face" = { # this is were caelestia will search for profiles pictures
home.file.".face" = {
# this is were caelestia will search for profiles pictures
source = ../../assets/sisyphePFP.png;
};
# set profile picture in ~/.face
@@ -21,7 +20,8 @@ in {
target = "graphical-session.target";
environment = [];
};
settings = { # default config https://github.com/caelestia-dots/shell?tab=readme-ov-file#example-configuration
settings = {
# default config https://github.com/caelestia-dots/shell?tab=readme-ov-file#example-configuration
appearance = {
mediaGifSpeedAdjustment = 500;
sessionGifSpeed = 0.7;
@@ -30,7 +30,8 @@ in {
scale = 1;
};
};
/*font = {
/*
font = {
family = {
clock = "Rubik"; # (TODO figure out those fonts)
material = "Material Symboles Rounded";
@@ -40,7 +41,8 @@ in {
size = {
scale = 1;
};
};*/
};
*/
padding = {
scale = 1;
};
@@ -361,7 +363,8 @@ in {
maxShown = 7;
maxWallpapers = 9;
specialPrefix = "@";
useFuzzy = { # should try
useFuzzy = {
# should try
apps = false;
actions = false;
schemes = false;
@@ -384,7 +387,8 @@ in {
openeExpanded = false;
expire = true;
};
osd = { # thats the slider for brightness and sound
osd = {
# thats the slider for brightness and sound
enabled = true;
enableBrightness = true;
enableMicrophone = false;
@@ -495,7 +499,8 @@ in {
}
];
};
cli = { # default config https://github.com/caelestia-dots/cli?tab=readme-ov-file#configuring
cli = {
# default config https://github.com/caelestia-dots/cli?tab=readme-ov-file#configuring
enable = true; # Also add caelestia-cli to path
settings = {
record = {
+8 -3
View File
@@ -1,11 +1,16 @@
{ config, pkgs, ... }: # ls replacement
{
config,
pkgs,
...
}:
# ls replacement
# see ./zsh.nix for the alias (usefull to se default flags)
{
programs.eza = {
enable = true;
enableZshIntegration = true;
theme = { # from https://github.com/eza-community/eza-themes/blob/main/themes/gruvbox-dark.yml
theme = {
# from https://github.com/eza-community/eza-themes/blob/main/themes/gruvbox-dark.yml
colourful = true;
filekinds = {
+8 -4
View File
@@ -149,13 +149,15 @@ in {
"Ctrl+Alt, 7, exec, caelestia shell gameMode toggle"
# reloads the autostart programs # pos 3 1
# we passed to caelestia-shell and stoped using that
/*"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=16 -e sh -c 'custom-weather'"
/*
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=16 -e sh -c 'custom-weather'"
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=11 -e sh -c 'custom-cowsay'"
"Ctrl+$mod, 4, exec, kitty -e 'custom-launch'"
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=1 -e sh -c 'cmatrix -br'"
#"Ctrl+Alt, 1, exec, swaync-client -t" # pos 4 1 notification center
"Ctrl+Alt, 1, exec, qs ipc call notifications toggle" */
"Ctrl+Alt, 1, exec, qs ipc call notifications toggle"
*/
"Ctrl+Alt, 1, exec, caelestia shell drawers toggle sidebar"
"Ctrl+$mod, 4, exec, caelestia shell notifs toggleDnd"
"Ctrl+$mod, 3, exec, pavucontrol" # pos 1 2 audiocontrol
@@ -220,7 +222,8 @@ in {
#"custom-obsidianbackup" # backups the obsidian notes to kdrive and to a timed hidden dir (~/.Notes.backup/)
#"QS-notifycache" # builds the cache that will be used for the notification history
"sleep 2 & caelestia-shell" #works better if it sleeps a bit before
/* We stopped using that ######################### maybe we should desactivate those scripts
/*
We stopped using that ######################### maybe we should desactivate those scripts
# login autostart
#######################
"[workspace 1 silent] sleep 1 && kitty -o font_size=16 -e sh -c 'custom-weather'"
@@ -229,7 +232,8 @@ in {
"[workspace 1 silent] sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
"[workspace 1 silent] sleep 1 && kitty -o font_size=1 -e sh -c 'cmatrix -br'"
######################
######################*/
######################
*/
];
# gestures (also keybindings)
+4 -2
View File
@@ -65,7 +65,8 @@ color14 #ffd497
color7 #ebd4c1
color15 #FFFFFF
'';
/*extraConfig = ''
/*
extraConfig = ''
# font nerd-fonts._0xproto # this key dont work and causes errors
font_size 14
bold_font auto
@@ -118,6 +119,7 @@ color15 #FFFFFF
# white
color7 #FFF0CC
color15 #F0DBAA
'';*/
'';
*/
};
}
-1
View File
@@ -4,7 +4,6 @@
pkgs-unstable,
...
}: {
programs.neovim = {
enable = true;
vimAlias = false;
+12 -4
View File
@@ -1,12 +1,20 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
programs.obsidian = {
enable = true;
vaults = {
miscellanious = { enable = true; target = "/Documents/Notes/miscellanious"; };
work = { enable = true; target = "/Documents/Notes/work"; };
miscellanious = {
enable = true;
target = "/Documents/Notes/miscellanious";
};
work = {
enable = true;
target = "/Documents/Notes/work";
};
};
defaultSettings = {
-1
View File
@@ -1,5 +1,4 @@
# pulled from https://codeberg.org/zacoons/rivendell-hyprdots
{
config,
pkgs,
+6 -6
View File
@@ -3,13 +3,13 @@
# https://chatgpt.com/c/69da11b3-ba24-8331-b7b0-a58a72e69d42
# at your risk and perils
# click on the icon to get a notification with state, percentage and wattage
{ lib
, stdenv
, qt6
, pkg-config
, pkgs
{
lib,
stdenv,
qt6,
pkg-config,
pkgs,
}:
stdenv.mkDerivation {
pname = "qtbatticon";
version = "1.0";
+1 -4
View File
@@ -1,8 +1,5 @@
# creates and maintains cache file for the notification history
{
writeShellApplication,
...
}:
{writeShellApplication, ...}:
writeShellApplication {
name = "QS-notifycache";
runtimeInputs = [
+1 -4
View File
@@ -1,7 +1,4 @@
{
writeShellApplication,
...
}:
{writeShellApplication, ...}:
writeShellApplication {
name = "QS-notifyhistory";
runtimeInputs = [
-1
View File
@@ -5,7 +5,6 @@
rsync,
...
}:
writeShellApplication {
name = "custom-obsidianbackup";
runtimeInputs = [
-1
View File
@@ -5,7 +5,6 @@
ripgrep,
...
}:
writeShellApplication {
name = "custom-obsidianvaults";
runtimeInputs = [