Compare commits

..

19 commits

Author SHA1 Message Date
15438eec10 flake.lock: Update
Some checks failed
/ test (push) Failing after 1m58s
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/8cb01a0e717311680e0cbca06a76cbceba6f3ed6' (2024-02-13)
  → 'github:ryantm/agenix/1381a759b205dff7a6818733118d02253340fd5e' (2024-04-02)
• Updated input 'ccrEmacs':
    'git+https://git.aciceri.dev/aciceri/emacs.git?ref=refs/heads/master&rev=d3875adaaa70a52c127f2519a2e86eb4dbcf34b0' (2024-03-26)
  → 'git+https://git.aciceri.dev/aciceri/emacs.git?ref=refs/heads/master&rev=c5bdfd91071fb06261c90655ac56ab61a09aa38c' (2024-04-08)
• Updated input 'ccrEmacs/emacs-overlay':
    'github:nix-community/emacs-overlay/81d4eb044fac45daf51281a046d413a40f05d103' (2024-03-26)
  → 'github:nix-community/emacs-overlay/c68aeff603f1b5c4cc7a57b876cf5e7101f2f21c' (2024-03-13)
• Updated input 'ccrEmacs/emacs-overlay/nixpkgs':
    'github:NixOS/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4' (2024-03-23)
  → 'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
• Updated input 'ccrEmacs/emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/56528ee42526794d413d6f244648aaee4a7b56c0' (2024-03-22)
  → 'github:NixOS/nixpkgs/ddcd7598b2184008c97e6c9c6a21c5f37590b8d2' (2024-03-11)
• Updated input 'ccrEmacs/extra-package-combobulate':
    'github:mickeynp/combobulate/f6e092d94ab184b3445fe3d6c0a501f9d7df764a' (2024-03-11)
  → 'github:mickeynp/combobulate/ee82c568ad639605518f62f82fae4bcc0dfdbb81' (2024-03-11)
• Updated input 'ccrEmacs/extra-package-copilot':
    'github:zerolfx/copilot.el/4e203efaa1f4047c800a026ba496d3bda8b67119' (2024-03-09)
  → 'github:zerolfx/copilot.el/57d5e670786ca8156772c6dcb38e6ff67c5efd62' (2024-03-13)
• Updated input 'ccrEmacs/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/0ca27bd58e4d5be3135a4bef66b582e57abe8f4a' (2024-02-21)
  → 'github:hercules-ci/hercules-ci-effects/9cc7ed20043adf381f1b8354c54ba667b527d538' (2024-03-13)
• Updated input 'ccrEmacs/hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
  → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
• Updated input 'ccrEmacs/hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/cfc3698c31b1fb9cdcf10f36c9643460264d0ca8' (2023-12-27)
  → 'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09)
• Updated input 'disko':
    'github:nix-community/disko/611c9ea53250f7bb22286b3d26872280a0e608f9' (2024-04-01)
  → 'github:nix-community/disko/79eab0e82cb126bf4ac170f44af82479f0895ab5' (2024-04-08)
• Updated input 'dream2nix':
    'github:nix-community/dream2nix/26a6c3a3405cdb2c2218cdc4e1e2bcf7a07af7ba' (2024-03-29)
  → 'github:nix-community/dream2nix/400032c6303f82b07a09c9784ab5569a51544987' (2024-04-09)
• Updated input 'dream2nix/nixpkgs':
    'github:NixOS/nixpkgs/72c6ed328aa4e5d9151b1a512f6ad83aca7529fa' (2024-03-28)
  → 'github:NixOS/nixpkgs/efe8ce06ca261f370d672def5b1e0be300c726e1' (2024-04-07)
• Updated input 'homeManager':
    'github:nix-community/home-manager/4be0464472675212654dedf3e021bd5f1d58b92f' (2024-04-02)
  → 'github:nix-community/home-manager/18f89ef74f0d48635488ccd6a5e30dc9d48a3a87' (2024-04-10)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0' (2024-03-25)
  → 'github:NixOS/nixos-hardware/805adee81c82efbe50cac7398c4de05769488ed9' (2024-04-10)
• Updated input 'nixpkgsStable':
    'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659' (2024-03-28)
  → 'github:NixOS/nixpkgs/d272ca50d1f7424fbfcd1e6f1c9e01d92f6da167' (2024-04-08)
• Updated input 'nixpkgsUnstable':
    'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089' (2024-03-29)
  → 'github:NixOS/nixpkgs/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6' (2024-04-08)
• Updated input 'nur':
    'github:nix-community/NUR/91edd2127f8365f9e96b37370dcba75b769305fe' (2024-04-02)
  → 'github:nix-community/NUR/72a299e9362607acd61c99c1858d0b4d1e6d2aef' (2024-04-10)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e35aed5fda3cc79f88ed7f1795021e559582093a' (2024-04-02)
  → 'github:cachix/pre-commit-hooks.nix/70f504012f0a132ac33e56988e1028d88a48855c' (2024-04-08)
2024-04-10 13:01:45 +00:00
731e2118a5
[CI] typo
All checks were successful
/ test (push) Successful in 37s
2024-04-09 16:58:39 +02:00
53eea2bced
Set MTU to 1200 for the Wireguard interface, seems to mitigate problems when connected through the phone
All checks were successful
/ test (push) Successful in 1m57s
2024-04-08 17:44:05 +02:00
867c475918
Enable adb on kirk 2024-04-08 17:43:53 +02:00
934120a952
Revert "wezterm now works as wayland native application"
All checks were successful
/ test (push) Successful in 38s
This reverts commit ee682fcf30.
2024-04-02 20:56:05 +02:00
a1c1373fc5 flake.lock: Update
Some checks are pending
/ test (push) Has started running
Flake lock file updates:

• Updated input 'ccrEmacs':
    'git+https://git.aciceri.dev/aciceri/emacs.git?ref=refs/heads/master&rev=845e682dc294373370efd5b6db99c48a65070a89' (2024-03-13)
  → 'git+https://git.aciceri.dev/aciceri/emacs.git?ref=refs/heads/master&rev=d3875adaaa70a52c127f2519a2e86eb4dbcf34b0' (2024-03-26)
• Updated input 'ccrEmacs/emacs-overlay':
    'github:nix-community/emacs-overlay/c68aeff603f1b5c4cc7a57b876cf5e7101f2f21c' (2024-03-13)
  → 'github:nix-community/emacs-overlay/81d4eb044fac45daf51281a046d413a40f05d103' (2024-03-26)
• Updated input 'ccrEmacs/emacs-overlay/nixpkgs':
    'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
  → 'github:NixOS/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4' (2024-03-23)
• Updated input 'ccrEmacs/emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/ddcd7598b2184008c97e6c9c6a21c5f37590b8d2' (2024-03-11)
  → 'github:NixOS/nixpkgs/56528ee42526794d413d6f244648aaee4a7b56c0' (2024-03-22)
• Updated input 'ccrEmacs/extra-package-combobulate':
    'github:mickeynp/combobulate/ee82c568ad639605518f62f82fae4bcc0dfdbb81' (2024-03-11)
  → 'github:mickeynp/combobulate/f6e092d94ab184b3445fe3d6c0a501f9d7df764a' (2024-03-11)
• Updated input 'ccrEmacs/extra-package-copilot':
    'github:zerolfx/copilot.el/57d5e670786ca8156772c6dcb38e6ff67c5efd62' (2024-03-13)
  → 'github:zerolfx/copilot.el/4e203efaa1f4047c800a026ba496d3bda8b67119' (2024-03-09)
• Updated input 'ccrEmacs/extra-package-nix-ts-mode':
    'github:aciceri/nix-ts-mode/8da9a76cd014d56ee734553a32c9e006e375bce4' (2023-09-17)
  → 'github:antifuchs/nix-ts-mode/0ef4e663add03d026a1804f57ac7d5453a635b15' (2024-01-18)
• Updated input 'ccrEmacs/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/9cc7ed20043adf381f1b8354c54ba667b527d538' (2024-03-13)
  → 'github:hercules-ci/hercules-ci-effects/0ca27bd58e4d5be3135a4bef66b582e57abe8f4a' (2024-02-21)
• Updated input 'ccrEmacs/hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
  → 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
• Updated input 'ccrEmacs/hercules-ci-effects/nixpkgs':
    'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09)
  → 'github:NixOS/nixpkgs/cfc3698c31b1fb9cdcf10f36c9643460264d0ca8' (2023-12-27)
• Updated input 'disko':
    'github:nix-community/disko/c09c3a9639690f94ddff44c3dd25c85602e5aeb2' (2024-03-18)
  → 'github:nix-community/disko/611c9ea53250f7bb22286b3d26872280a0e608f9' (2024-04-01)
• Updated input 'dream2nix':
    'github:nix-community/dream2nix/f017de2de4b78aef8e9d37d1c7ffd61b200c2858' (2024-03-18)
  → 'github:nix-community/dream2nix/26a6c3a3405cdb2c2218cdc4e1e2bcf7a07af7ba' (2024-03-29)
• Updated input 'dream2nix/nixpkgs':
    'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
  → 'github:NixOS/nixpkgs/72c6ed328aa4e5d9151b1a512f6ad83aca7529fa' (2024-03-28)
• Updated input 'flakeParts':
    'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
  → 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
• Updated input 'flakeParts/nixpkgs-lib':
    'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib' (2024-02-29)
  → 'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?dir=lib' (2024-03-29)
• Updated input 'hercules-ci-agent':
    'github:hercules-ci/hercules-ci-agent/c3841d842cbe6bf7024b26bb40e44e82bd042273' (2024-03-15)
  → 'github:hercules-ci/hercules-ci-agent/9a031b7c8e376cb46ffcf56aba2350dc6b1dac5b' (2024-03-18)
• Updated input 'homeManager':
    'github:nix-community/home-manager/7b3fca5adcf6c709874a8f2e0c364fe9c58db989' (2024-03-17)
  → 'github:nix-community/home-manager/4be0464472675212654dedf3e021bd5f1d58b92f' (2024-04-02)
• Updated input 'nixDarwin':
    'github:LnL7/nix-darwin/bcc8afd06e237df060c85bad6af7128e05fd61a3' (2024-03-17)
  → 'github:LnL7/nix-darwin/36524adc31566655f2f4d55ad6b875fb5c1a4083' (2024-03-30)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/968952f950a59dee9ed1e8799dda38c6dfa1bad3' (2024-03-16)
  → 'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0' (2024-03-25)
• Updated input 'nixpkgsStable':
    'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
  → 'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659' (2024-03-28)
• Updated input 'nixpkgsUnstable':
    'github:NixOS/nixpkgs/c75037bbf9093a2acb617804ee46320d6d1fea5a' (2024-03-16)
  → 'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089' (2024-03-29)
• Updated input 'nur':
    'github:nix-community/NUR/fc4f9acb61749a12a7ff7ac4020142b121a5dd25' (2024-03-18)
  → 'github:nix-community/NUR/91edd2127f8365f9e96b37370dcba75b769305fe' (2024-04-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
  → 'github:cachix/pre-commit-hooks.nix/e35aed5fda3cc79f88ed7f1795021e559582093a' (2024-04-02)
• Updated input 'pre-commit-hooks/flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
• Updated input 'pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
  → 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01)
2024-04-02 20:46:08 +02:00
173f1d32ad
transmission: always enforce speed limit
Some checks failed
/ test (push) Failing after 31m43s
I believe that the disk is too slow
2024-04-02 12:45:06 +02:00
145a7214b2
Disable SSH's controlPersist: was giving problems from mobile through the VPN 2024-04-02 12:44:40 +02:00
57f04d95db
Enable adb on picard 2024-04-02 12:44:29 +02:00
ae0468bf73
syncthing on the OnePlus 6T 2024-04-02 12:44:14 +02:00
d9349d5317
New Android ROM on the OnePlus 6T 2024-04-02 12:43:09 +02:00
458c00e499
btop settings 2024-04-02 12:42:53 +02:00
c9ef45c958
Update ccrEmacs input 2024-04-02 12:42:29 +02:00
ae7d2a3974
Move forgejo state directory to SSD
All checks were successful
/ test (push) Successful in 12m11s
2024-03-26 15:45:14 +01:00
9fb2c6e365
Jellyfin proxy 2024-03-26 15:45:07 +01:00
fe54c2d5ba
Change transmission speeds
Disk is too slow 😭
2024-03-26 15:42:36 +01:00
fc8c1560e3
Jellyfin module
All checks were successful
/ test (push) Successful in 36s
2024-03-26 15:40:28 +01:00
3e1ee94dc9
[CI] Re-enable jobs
All checks were successful
/ test (push) Successful in 32s
2024-03-26 15:28:34 +01:00
3c9a69063f
[CI] Temporarily disable update-flake-lock job 2024-03-26 14:57:08 +01:00
15 changed files with 50 additions and 20 deletions

24
flake.lock generated
View file

@ -631,11 +631,11 @@
]
},
"locked": {
"lastModified": 1712645849,
"narHash": "sha256-67v20E0gH7nvAaMsah2oRIocnxGO25fATUyzQHIywxQ=",
"lastModified": 1712730572,
"narHash": "sha256-rAVvdP77rEmgobvSgybqPAcHefv5dCXPH/ge6Ds+JtU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "40a99619da804a78a0b166e5c6911108c059c3a8",
"rev": "18f89ef74f0d48635488ccd6a5e30dc9d48a3a87",
"type": "github"
},
"original": {
@ -771,11 +771,11 @@
},
"nixosHardware": {
"locked": {
"lastModified": 1712566108,
"narHash": "sha256-c9nT2ZODGqobISP41kUwCQ84Srwg7a/1TmPFQuol2/8=",
"lastModified": 1712739139,
"narHash": "sha256-I8fw3ot29H9TXClIJHmPfQXaq2dEXHs2VmZeMEw7sb4=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "1e3b3a35b7083f4152f5a516798cf9b21e686465",
"rev": "805adee81c82efbe50cac7398c4de05769488ed9",
"type": "github"
},
"original": {
@ -940,11 +940,11 @@
},
"nixpkgsUnstable": {
"locked": {
"lastModified": 1712439257,
"narHash": "sha256-aSpiNepFOMk9932HOax0XwNxbA38GOUVOiXfUVPOrck=",
"lastModified": 1712608508,
"narHash": "sha256-vMZ5603yU0wxgyQeHJryOI+O61yrX2AHwY6LOFyV1gM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ff0dbd94265ac470dda06a657d5fe49de93b4599",
"rev": "4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6",
"type": "github"
},
"original": {
@ -1084,11 +1084,11 @@
},
"nur": {
"locked": {
"lastModified": 1712671839,
"narHash": "sha256-LjehUc4gAnqGckdck5ul+nWJKAjTodS/Nd+PuO3sIaM=",
"lastModified": 1712753744,
"narHash": "sha256-gmw5cWa/+K78CDkx1o5RlwPPgYTRaIhoF5bI4LI6HuQ=",
"owner": "nix-community",
"repo": "NUR",
"rev": "7d17d2fa5094e28ddd369ced837f44073b436662",
"rev": "72a299e9362607acd61c99c1858d0b4d1e6d2aef",
"type": "github"
},
"original": {

View file

@ -1,6 +1,10 @@
{
{config, ...}: {
programs.btop = {
enable = true;
settings.update_ms = 100;
settings = {
update_ms = 100;
theme_background = false;
color_theme = "${config.programs.btop.package}/share/btop/themes/dracula.theme";
};
};
}

View file

@ -27,7 +27,6 @@
programs.ssh = {
enable = true;
controlMaster = "auto";
controlPersist = "10m";
};
# programs.starship = {

View file

@ -3,6 +3,7 @@
enable = true;
extraConfig = ''
return {
enable_wayland = false; -- https://github.com/wez/wezterm/issues/4483
font = wezterm.font_with_fallback {
{
family = 'Iosevka Comfy',

View file

@ -160,7 +160,7 @@
vpnExtra = {
oneplus6t = {
ip = "10.100.0.4";
publicKey = "O6/tKaA8Hs7OEqi15hV4RwviR6vyCTMYv6ZlhsI+tnI=";
publicKey = "cXHPaJXeA/JB7DKlZXR86zYcz1OEVPMOvAmDhBQF91E=";
};
};
};

View file

@ -30,6 +30,7 @@
"greetd"
"syncthing"
"mount-rock5b"
"adb"
]
++ [
./disko.nix

View file

@ -39,6 +39,7 @@
# "macos-ventura"
# "sunshine"
"mount-rock5b"
"adb"
]
++ [
./disko.nix

View file

@ -26,6 +26,7 @@
"minio"
# "matrix"
"forgejo"
# "jellyfin"
]
++ [
./disko.nix

View file

@ -14,6 +14,7 @@
"cache.aciceri.dev"
"matrix.aciceri.dev"
"syncv3.matrix.aciceri.dev"
"jellyfin.aciceri.dev"
];
apiTokenFile = config.age.secrets.cloudflare-dyndns-api-token.path;
};

View file

@ -5,7 +5,6 @@
}: {
services.forgejo = {
enable = true;
stateDir = "/mnt/hd/forgejo";
settings = {
DEFAULT = {
RUN_MODE = "prod"; # set to prod for better logs (worse performance)

View file

@ -0,0 +1,7 @@
{
services.jellyfin = {
enable = true;
};
users.users.jellyfin.extraGroups = ["transmission"];
}

View file

@ -35,6 +35,13 @@
proxyPass = "http://localhost:${builtins.toString config.services.invidious.port}";
};
};
# "jellyfin.aciceri.dev" = {
# forceSSL = true;
# enableACME = true;
# locations."/" = {
# proxyPass = "http://localhost:8096";
# };
# };
# "sevenofnix.aciceri.dev" = {
# forceSSL = true;
# enableACME = true;

View file

@ -29,6 +29,12 @@
"tcp://kirk.fleet"
];
};
onplus6t = {
id = "76BJ2ZE-FPFDWUZ-3UZIENZ-TS6YBGG-EZSF6UE-GLHRBQ2-KTHTRMI-3JWNRAT";
addresses = [
"tcp://oneplus6t.fleet"
];
};
};
folders = {
org = {
@ -39,7 +45,7 @@
kirk = "/home/${config.ccr.username}/org";
}
.${config.networking.hostName};
devices = ["picard" "sisko" "kirk"];
devices = ["picard" "sisko" "kirk" "onplus6t"];
};
sync = {
path =

View file

@ -21,8 +21,10 @@
upload-slots-per-torrent = 1000;
alt-speed-up = 300000; # 300MB/s
alt-speed-down = 500000; # 500MB/s
speed-limit-up = 10000;
speed-limit-down = 10000;
alt-speed-up = 20000;
alt-speed-down = 20000;
alt-speed-time-enabled = true;
alt-speed-time-begin = 540; # 9AM, minutes after midnight
alt-speed-time-end = 1380; # 11PM

View file

@ -6,6 +6,7 @@
imports = [../wireguard-common];
networking.wireguard.interfaces.wg0 = {
mtu = 1200;
ips = ["${vpn.${config.networking.hostName}.ip}/32"];
peers = [
{