30 Commits
Author SHA1 Message Date
tomasr a424a01309 snapshot pre-cleanup-2026-10-11T14-05-01Z 2026-10-11 16:05:01 +02:00
tomasr 8a467889bd snapshot pre-autoupdate-2026-10-10T08-00-13Z 2026-10-10 10:00:13 +02:00
tomasr 783f7ffc59 add telegram desktop 2026-10-10 09:58:56 +02:00
tomasr f702287f7a add detexify bookmark 2026-10-04 18:14:49 +02:00
tomasr d8b3830520 snapshot pre-cleanup-2026-10-03T21-43-19Z 2026-10-03 23:43:19 +02:00
tomasr cc5c4bf865 snapshot pre-autoupdate-2026-10-03T13-04-41Z 2026-10-03 15:04:41 +02:00
tomasr e58701d75a snapshot pre-cleanup-2026-09-26T18-13-36Z 2026-09-26 20:13:36 +02:00
tomasr e88e946110 snapshot pre-autoupdate-2026-09-26T17-59-52Z 2026-09-26 19:59:52 +02:00
tomasr aa335ec277 remove pomodoro timer shortcut 2026-09-21 12:00:24 +02:00
tomasr 28a9c37369 setup fwupd 2026-09-20 11:14:11 +02:00
tomasr 3d273bdd13 snapshot pre-cleanup-2026-09-20T09-04-46Z 2026-09-20 11:04:46 +02:00
tomasr 3871205f6a snapshot pre-autoupdate-2026-09-19T15-51-37Z 2026-09-19 17:51:37 +02:00
tomasr 3c44b9d9c0 fix path sync cs-119l 2026-09-13 10:42:53 +02:00
tomasr 8741846a72 Auto: cleanup-2026-09-13T08-29-34Z 2026-09-13 10:30:53 +02:00
tomasr 5c9d8aee46 snapshot pre-cleanup-2026-09-13T08-29-34Z 2026-09-13 10:29:34 +02:00
tomasr 018d5464db fix sync cs119l 2026-09-13 10:28:57 +02:00
tomasr db3b4ef194 snapshot pre-autoupdate-2026-09-12T09-49-03Z 2026-09-12 11:49:03 +02:00
tomasr 5e717182ed epfl switchDrive 2026-09-10 11:12:29 +02:00
tomasr 5d268e49b9 fix fastfetch vscode 2026-09-06 11:32:56 +02:00
tomasr 377ec45fad setup for cs-119l 2026-09-06 11:17:17 +02:00
tomasr 7a0454befb Auto: cleanup-2026-09-06T07-56-34Z 2026-09-06 09:56:58 +02:00
tomasr acefe53275 snapshot pre-cleanup-2026-09-06T07-56-34Z 2026-09-06 09:56:34 +02:00
tomasr 8edf285346 snapshot pre-autoupdate-2026-09-05T12-18-46Z 2026-09-05 14:18:46 +02:00
tomasr 5b7bc76c47 librewolf: add courseware bookmark 2026-09-05 14:14:30 +02:00
tomasr a599d4b67c librewolf: add moodle bookmark 2026-09-05 14:11:09 +02:00
tomasr 9155de7abb remove duplciate exec nixpkgs-notifier 2026-08-30 21:06:50 +02:00
tomasr deae612ef8 ös alias 2026-08-30 19:33:08 +02:00
tomasr f5490420ba Auto: cleanup-2026-08-30T15-04-23Z 2026-08-30 17:04:44 +02:00
tomasr 45f068c894 snapshot pre-cleanup-2026-08-30T15-04-23Z 2026-08-30 17:04:23 +02:00
tomasr 940cb8a5e9 reajuste lock timing 2026-08-30 17:03:50 +02:00
12 changed files with 104 additions and 9 deletions

No files matched your search

-1
View File
@@ -428,7 +428,6 @@ The macros in the layout generate combinations involving `CTRL`, `ALT`, `SUPER`,
| Row 2, Col 2 | Change audio output (`CTRL + ALT + SHIFT + 0`) |
| Row 2, Col 3 | Special characters (`CTRL + SUPER + 5`) |
| Row 2, Col 4 | Color picker (`CTRL + ALT + 8`) |
| Row 3, Col 1 | Pomodoro timer (`CTRL + ALT + 0`) |
| Row 4, Col 1 | Launch Anki (`CTRL + ALT + 9`) |
The physical layout file contains additional transparent/unused positions, but the bindings above are the active shortcuts documented for the macropad.
+3
View File
@@ -69,12 +69,15 @@
flake = let
system = "x86_64-linux";
unfreePkgs = [
"code"
"hplip"
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-unwrapped"
"cheatsheet.nvim"
"vscode"
"vscode-fhs"
"zoom-us"
"zoom"
];
+18
View File
@@ -402,6 +402,24 @@
keyword = "nix function search";
url = "https://noogle.dev";
}
{
name = "EPFL Moodle";
tags = ["epfl" "moodle"];
keyword = "epfl moodle";
url = "https://moodle.epfl.ch/my/courses.php";
}
{
name = "EPFL ICC Courseware";
tags = ["icc" "epfl" "courseware"];
keyword = "icc epfl courseware";
url = "https://courseware.epfl.ch/learner-dashboard/";
}
{
name = "Detexify";
tags = ["draw" "Latex" "symbols"];
keyword = "draw latex symbols";
url = "https://detexify.kirelabs.org/";
}
];
};
search = {
+2 -2
View File
@@ -24,11 +24,11 @@
inhibitWhenAudio = true;
timeouts = [
{
timeout = 600;
timeout = 1000;
idleAction = "lock";
}
{
timeout = 610;
timeout = 1010;
idleAction = "dpms off"; # what's that?
returnAction = "dpms on";
}
-1
View File
@@ -39,7 +39,6 @@ _: {
text = ''
hl.on("hyprland.start", function()
hl.exec_cmd("qtbatticon")
hl.exec_cmd("source /run/agenix/ntfy && nixpkgs-notifier listen")
end)
hl.monitor({
+11 -2
View File
@@ -43,6 +43,11 @@ _: {
enable = true;
autosuggestion.enable = false; # zsh-autocomplete is replaced by deja
initContent = ''
# those aliases can't be written in nix, because of ö
# l and ö are very close
alias -- ös=ls
alias -- öös=ls
# Safe cat that uses colorize plugin ccat
custom-cat() {
if [[ -t 1 ]]; then
@@ -51,7 +56,7 @@ _: {
command cat "$@"
fi
}
custom-eza() { # behaves differently if we just call it or if we pipe initContent
if [[ -t 1 ]]; then
eza -hlF -aa --color=always --hyperlink --group-directories-first --show-symlinks --icons=always --git --no-permissions "$@"
@@ -61,7 +66,11 @@ _: {
}
eval "$(direnv hook zsh)"
eval "$(deja init zsh)"
fastfetch''\n'';
if [[ "$TERM_PROGRAM" != "vscode" ]]; then
fastfetch
fi
'';
shellAliases = {
".." = "z ..";
grep = "rg";
+2
View File
@@ -11,6 +11,7 @@ _: {
})
syswatch
];
services.fwupd.enable = true; # update device firmware
};
flake.nixosModules.hardwareUtils-desktop = {pkgs-unstable, ...}: {
environment.systemPackages = with pkgs-unstable; [
@@ -20,5 +21,6 @@ _: {
})
syswatch
];
services.fwupd.enable = true; # update device firmware
};
}
+1
View File
@@ -25,6 +25,7 @@
bootloader
browsers
caelestia
cs-119l # I'm obliged to use vscode. RIP neovim
development
documentation
disk
@@ -11,6 +11,7 @@
self.packages.${pkgs.system}.custom-gitnotify # checks if git is set up
self.packages.${pkgs.system}.custom-checkKdrive # check if kdrive is set up with rclone
zoom-us
telegram-desktop
];
};
perSystem = {pkgs, ...}: {
+59 -1
View File
@@ -1,7 +1,65 @@
_: {
{self, ...}: {
flake.nixosModules.epfl = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
openconnect
self.packages.${pkgs.system}.custom-mountEpflDrive
];
};
flake.nixosModules.cs-119l = {pkgs, ...}: let
user = "tomasr";
home = "/home/${user}";
src = "${home}/epfl/cs-119l-ICC/";
dst = "${home}/kdrive/Travail/2 - Bachelor/BA1/Information, calcul, communication CS-119l/code/";
in {
environment.systemPackages = with pkgs; [
vscode-fhs
];
systemd.services.sync-cs119l-to-kdrive = {
description = "Sync CS-119l ICC to kDrive";
serviceConfig = {
Type = "oneshot";
User = user;
ExecStart = "${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
};
};
systemd.timers.sync-cs119l-to-kdrive = {
description = "Sync CS-119l ICC to kDrive every Thursday and Friday evening";
wantedBy = ["timers.target"];
timerConfig = {
OnCalendar = [
"Thu *-*-* 20:00:00"
"Fri *-*-* 20:00:00"
];
Persistent = true;
};
};
};
perSystem = {pkgs, ...}: {
packages.custom-mountEpflDrive = pkgs.writeShellApplication {
name = "custom-mountEpflDrive";
runtimeInputs = with pkgs; [
rclone
libnotify
];
text = ''
REMOTE_NAME="epfl"
MOUNT_POINT="$HOME/epfl/drive"
if rclone listremotes | rg "^''${REMOTE_NAME}:"; then
echo "Mounting ''${REMOTE_NAME}..."
rclone mount "''${REMOTE_NAME}:" "$MOUNT_POINT" --vfs-cache-mode writes --allow-non-empty &
else
notify-send "rclone mount failed" \
"Remote ''${REMOTE_NAME} not found.\nConfigure rclone and create the dir ~/epfl/drive/ or comment out the exec line in hyprland.lua."
echo "Remote ''${REMOTE_NAME} not found. Configure rclone or comment out the exec line in hyprland.lua."
fi
'';
};
};
}
+5 -1
View File
@@ -1,7 +1,11 @@
{self, ...}: {
flake.nixosModules.otherUtils =
# try to keep packages here at a minium. Preferably use a dedicated file
{pkgs, pkgs-unstable, ...}: {
{
pkgs,
pkgs-unstable,
...
}: {
environment.systemPackages = with pkgs; [
gnome-calculator
snapshot
+2 -1
View File
@@ -322,7 +322,7 @@ hl.bind(mod .. " + CTRL + 3", hl.dsp.exec_cmd("pavucontrol"))
hl.bind("CTRL + SHIFT + ALT + 0", hl.dsp.exec_cmd("kitty --hold --class \"custom-changeAudioOutput\" --name \"Select audio output\" zsh -c \"custom-changeAudioOutput\""))
hl.bind(mod .. " + CTRL + 5", hl.dsp.exec_cmd("gnome-characters"))
hl.bind("CTRL + ALT + 8", hl.dsp.exec_cmd("hyprpicker | tee >(wl-copy) | cliphist store"))
hl.bind("CTRL + ALT + 0", hl.dsp.exec_cmd("custom-tomato"))
-- hl.bind("CTRL + ALT + 0", hl.dsp.exec_cmd("custom-tomato"))
hl.bind("CTRL + ALT + 2", hl.dsp.exec_cmd("custom-bottom"))
hl.bind("CTRL + ALT + 9", hl.dsp.exec_cmd("anki"))
@@ -940,6 +940,7 @@ hl.on("hyprland.start", function()
hl.exec_cmd("awww img WALLPAPER/PATH/PLACEHOLDER")
hl.exec_cmd("awww-daemon")
hl.exec_cmd("custom-checkKdrive && custom-mountkdrive")
hl.exec_cmd("custom-mountEpflDrive")
hl.exec_cmd("custom-gitnotify")
hl.exec_cmd("sleep 4 & caelestia-shell")
hl.exec_cmd("sleep 20 && ngcp pull --automatic")