Skip to content

Commit

Permalink
update: lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Jun 21, 2024
1 parent 4858a8a commit ad140a4
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 38 deletions.
54 changes: 27 additions & 27 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions home-manager/modules/desktop/gnome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ in {
power-button-action = "nothing";
sleep-inactive-ac-type = "nothing";
};
"org.gnome.desktop.wm.keybindings" = {
switch-to-workspace-right = ["<Control><Super>Right"];
switch-to-workspace-left = ["<Control><Super>Left"];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = mkString "NEXT";
# https://www.reddit.com/r/gnome/comments/wencxw/almost_solved_i_wish_gnome_would_have_a_way_to/
Expand Down
32 changes: 21 additions & 11 deletions nixos/modules/services/aria2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,27 @@
services.aria2 = {
enable = true;
rpcSecretFile = "/run/credentials/aria2.service/rpcSecretFile";
extraArguments = lib.concatStringsSep " " [
"--max-connection-per-server=16"
"--split=64"
"--min-split-size=4M"
"--http-accept-gzip=true"
"--content-disposition-default-utf8=true"
"--dht-entry-point=dht.transmissionbt.com:6881"
"--dht-entry-point6=dht.transmissionbt.com:6881"
"--bt-force-encryption=true"
# "--bt-tracker=${builtins.readFile pkgs.trackerslist}"
];
settings = {
max-connection-per-server = 16;
split = 64;
min-split-size = "4M";
http-accept-gzip = true;
content-disposition-default-utf8 = true;
dht-entry-point = "dht.transmissionbt.com:6881";
dht-entry-point6 = "dht.transmissionbt.com:6881";
bt-force-encryption = true;
};
# extraArguments = lib.concatStringsSep " " [
# "--max-connection-per-server=16"
# "--split=64"
# "--min-split-size=4M"
# "--http-accept-gzip=true"
# "--content-disposition-default-utf8=true"
# "--dht-entry-point=dht.transmissionbt.com:6881"
# "--dht-entry-point6=dht.transmissionbt.com:6881"
# "--bt-force-encryption=true"
# # "--bt-tracker=${builtins.readFile pkgs.trackerslist}"
# ];
};
systemd.services.aria2.serviceConfig = {
LoadCredential = lib.mkForce [
Expand Down

0 comments on commit ad140a4

Please sign in to comment.