mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-12 17:30:55 +02:00
Compare commits
16
Commits
db3b4ef194
...
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a424a01309 | ||
|
|
8a467889bd | ||
|
|
783f7ffc59 | ||
|
|
f702287f7a | ||
|
|
d8b3830520 | ||
|
|
cc5c4bf865 | ||
|
|
e58701d75a | ||
|
|
e88e946110 | ||
|
|
aa335ec277 | ||
|
|
28a9c37369 | ||
|
|
3d273bdd13 | ||
|
|
3871205f6a | ||
|
|
3c44b9d9c0 | ||
|
|
8741846a72 | ||
|
|
5c9d8aee46 | ||
|
|
018d5464db |
No files matched your search
@@ -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 2 | Change audio output (`CTRL + ALT + SHIFT + 0`) |
|
||||||
| Row 2, Col 3 | Special characters (`CTRL + SUPER + 5`) |
|
| Row 2, Col 3 | Special characters (`CTRL + SUPER + 5`) |
|
||||||
| Row 2, Col 4 | Color picker (`CTRL + ALT + 8`) |
|
| 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`) |
|
| 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.
|
The physical layout file contains additional transparent/unused positions, but the bindings above are the active shortcuts documented for the macropad.
|
||||||
|
|||||||
@@ -414,6 +414,12 @@
|
|||||||
keyword = "icc epfl courseware";
|
keyword = "icc epfl courseware";
|
||||||
url = "https://courseware.epfl.ch/learner-dashboard/";
|
url = "https://courseware.epfl.ch/learner-dashboard/";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Detexify";
|
||||||
|
tags = ["draw" "Latex" "symbols"];
|
||||||
|
keyword = "draw latex symbols";
|
||||||
|
url = "https://detexify.kirelabs.org/";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ _: {
|
|||||||
})
|
})
|
||||||
syswatch
|
syswatch
|
||||||
];
|
];
|
||||||
|
services.fwupd.enable = true; # update device firmware
|
||||||
};
|
};
|
||||||
flake.nixosModules.hardwareUtils-desktop = {pkgs-unstable, ...}: {
|
flake.nixosModules.hardwareUtils-desktop = {pkgs-unstable, ...}: {
|
||||||
environment.systemPackages = with pkgs-unstable; [
|
environment.systemPackages = with pkgs-unstable; [
|
||||||
@@ -20,5 +21,6 @@ _: {
|
|||||||
})
|
})
|
||||||
syswatch
|
syswatch
|
||||||
];
|
];
|
||||||
|
services.fwupd.enable = true; # update device firmware
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
self.packages.${pkgs.system}.custom-gitnotify # checks if git is set up
|
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
|
self.packages.${pkgs.system}.custom-checkKdrive # check if kdrive is set up with rclone
|
||||||
zoom-us
|
zoom-us
|
||||||
|
telegram-desktop
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
|
|||||||
+11
-15
@@ -6,34 +6,31 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.nixosModules.cs-119l = {pkgs, ...}:
|
flake.nixosModules.cs-119l = {pkgs, ...}: let
|
||||||
let
|
user = "tomasr";
|
||||||
user = "YOUR_USERNAME";
|
|
||||||
home = "/home/${user}";
|
home = "/home/${user}";
|
||||||
src = "${home}/epfl/cs-119l-ICC/";
|
src = "${home}/epfl/cs-119l-ICC/";
|
||||||
dst = "${home}/kdrive/Travaille/2 - Bachelor/Information, calcul, communication CS-119l/";
|
dst = "${home}/kdrive/Travail/2 - Bachelor/BA1/Information, calcul, communication CS-119l/code/";
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vscode-fhs
|
vscode-fhs
|
||||||
];
|
];
|
||||||
systemd.services.sync-cs119l-to-kdrive = {
|
systemd.services.sync-cs119l-to-kdrive = {
|
||||||
description = "Sync CS-119l ICC to kDrive";
|
description = "Sync CS-119l ICC to kDrive";
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = user;
|
User = user;
|
||||||
|
|
||||||
ExecStart =
|
ExecStart = "${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
|
||||||
"${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.timers.sync-cs119l-to-kdrive = {
|
systemd.timers.sync-cs119l-to-kdrive = {
|
||||||
description = "Sync CS-119l ICC to kDrive every Thursday and Friday evening";
|
description = "Sync CS-119l ICC to kDrive every Thursday and Friday evening";
|
||||||
|
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = ["timers.target"];
|
||||||
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = [
|
OnCalendar = [
|
||||||
"Thu *-*-* 20:00:00"
|
"Thu *-*-* 20:00:00"
|
||||||
@@ -65,5 +62,4 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -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("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(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 + 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 + 2", hl.dsp.exec_cmd("custom-bottom"))
|
||||||
hl.bind("CTRL + ALT + 9", hl.dsp.exec_cmd("anki"))
|
hl.bind("CTRL + ALT + 9", hl.dsp.exec_cmd("anki"))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user