mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
Auto: cleanup-2026-06-09T14-39-17Z
This commit is contained in:
@@ -2,9 +2,11 @@ _: {
|
||||
flake.homeModules.git = _: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
/*settings = {
|
||||
/*
|
||||
settings = {
|
||||
init.defaultBranch = "main";
|
||||
};*/
|
||||
};
|
||||
*/
|
||||
};
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
|
||||
@@ -25,22 +25,24 @@
|
||||
systemd.user.services.kdrive-sync = {
|
||||
serviceConfig = {
|
||||
ExecStart = "${self.packages.${pkgs.system}.custom-synckdrive-desktop}/bin/custom-synckdrive";
|
||||
|
||||
Nice = 19; # lowest CPU scheduling priority
|
||||
|
||||
Nice = 19; # lowest CPU scheduling priority
|
||||
IOSchedulingClass = "idle";
|
||||
IOSchedulingPriority = 7;
|
||||
|
||||
|
||||
# Optional:
|
||||
CPUWeight = 1; # minimum relative CPU share
|
||||
CPUWeight = 1; # minimum relative CPU share
|
||||
};
|
||||
};
|
||||
/*systemd.user.timers.kdrive-sync = {
|
||||
/*
|
||||
systemd.user.timers.kdrive-sync = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = "1m";
|
||||
OnUnitActiveSec = "5m";
|
||||
};
|
||||
};*/
|
||||
};
|
||||
*/
|
||||
};
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.custom-checkKdrive = pkgs.writeShellApplication {
|
||||
|
||||
@@ -33,7 +33,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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user