Compare commits

...
Sign in to create a new pull request.

47 commits

Author SHA1 Message Date
c1a24e386b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c5f08b62ed75415439d48152c2a784e36909b1bc' (2025-08-09)
  → 'github:NixOS/nixpkgs/ddae11e58c0c345bf66efbddbf2192ed0e58f896' (2025-08-11)
• Updated input 'nur':
    'github:nix-community/NUR/f6fa362b700f64a9ac6e7d38b06db4f0c8101b4c' (2025-08-09)
  → 'github:nix-community/NUR/3a675e8f6015cb8ea14138b0c69722b2a0e09dee' (2025-08-13)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134' (2025-08-06)
  → 'github:nixos/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054' (2025-08-09)
2025-08-13 13:24:12 +02:00
6220f916a3 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22' (2025-07-21)
  → 'github:NixOS/nixos-hardware/26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113' (2025-08-07)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727' (2025-07-28)
  → 'github:NixOS/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134' (2025-08-06)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a' (2025-07-29)
  → 'github:NixOS/nixpkgs/fc756aa6f5d3e2e5666efcf865d190701fef150a' (2025-08-08)
• Updated input 'nur':
    'github:nix-community/NUR/6f87ad268e07a0573f32f43d2505862b08542dc0' (2025-07-27)
  → 'github:nix-community/NUR/f6fa362b700f64a9ac6e7d38b06db4f0c8101b4c' (2025-08-09)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d' (2025-07-25)
  → 'github:nixos/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134' (2025-08-06)
2025-08-12 12:12:32 +02:00
7af1a87afb flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22?narHash=sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM%3D' (2025-07-21)
  → 'github:NixOS/nixos-hardware/26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113?narHash=sha256-dz303vGuzWjzOPOaYkS9xSW%2BB93PSAJxvBd6CambXVA%3D' (2025-08-07)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
  → 'github:NixOS/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054?narHash=sha256-iAcj9T/Y%2B3DBy2J0N%2ByF9XQQQ8IEb5swLFzs23CdP88%3D' (2025-08-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a?narHash=sha256-%2BjkEZxs7bfOKfBIk430K%2BtK9IvXlwzqQQnppC2ZKFj4%3D' (2025-07-29)
  → 'github:NixOS/nixpkgs/c5f08b62ed75415439d48152c2a784e36909b1bc?narHash=sha256-8OnUzRQZkqtUol9vuUuQC30hzpMreKptNyET2T9lB6g%3D' (2025-08-09)
2025-08-11 11:55:39 +02:00
6b36602e06 console.font: use default
The meaning of the option appears to have slightly changed, it errors
during early boot now.
Defaults are fine.
2025-08-05 18:41:20 +02:00
686bf13217 workmac, ssh: tune multiplexing timeouts
Adjust multiplexing settings to avoid being stuck for too long when the
control master has issues or the target host e.g. rebooted.
Relevant e.g. when used for reboot recovery check pings.
2025-08-01 12:07:06 +02:00
c960584447 flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d?narHash=sha256-9h7%2B4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ%2BSJjk%3D' (2025-07-25)
  → 'github:NixOS/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3ff0e34b1383648053bba8ed03f201d3466f90c9?narHash=sha256-CdX2Rtvp5I8HGu9swBmYuq%2BILwRxpXdJwlpg8jvN4tU%3D' (2025-07-24)
  → 'github:NixOS/nixpkgs/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a?narHash=sha256-%2BjkEZxs7bfOKfBIk430K%2BtK9IvXlwzqQQnppC2ZKFj4%3D' (2025-07-29)
2025-07-31 22:19:44 +02:00
9f43d64f49 home/modules/captive-browser: linux DHCP command, default option priority
let's just hardcode dhcpcd under Linux.

untested.
2025-07-30 21:45:17 +02:00
18adff4c52 home/modules/captive-browser: init module
starting with Chrome/ Chromium only by copying command from
https://github.com/FiloSottile/captive-browser/
2025-07-30 21:24:38 +02:00
633c93f1e0 add nixfmt commit to ignored revisions 2025-07-30 21:23:06 +02:00
ce54be9aac treewide: nixfmt
nixfmt 1.0 has breaking formatting changes
2025-07-30 21:22:01 +02:00
511462d617 linuxPackages: install rustdesk 2025-07-27 16:02:07 +02:00
45a8a8a81f flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/adf195f021a8cbb0c317f75b52e96c82616526f9' (2025-07-20)
  → 'github:nix-community/home-manager/fc3add429f21450359369af74c2375cb34a2d204' (2025-07-27)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153' (2025-07-16)
  → 'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22' (2025-07-21)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf' (2025-07-19)
  → 'github:NixOS/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d' (2025-07-25)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f01fe91b0108a7aff99c99f2e9abbc45db0adc2a' (2025-07-18)
  → 'github:NixOS/nixpkgs/3ff0e34b1383648053bba8ed03f201d3466f90c9' (2025-07-24)
• Updated input 'nur':
    'github:nix-community/NUR/84d952a1ed63dede792f1a1c5e9ae5bfab38ca83' (2025-07-21)
  → 'github:nix-community/NUR/6f87ad268e07a0573f32f43d2505862b08542dc0' (2025-07-27)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf' (2025-07-19)
  → 'github:nixos/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d' (2025-07-25)
2025-07-27 15:30:01 +02:00
d11ac9fc55 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/2e00ed310c218127e02ffcf28ddd4e0f669fde3e' (2025-07-15)
  → 'github:nix-community/home-manager/adf195f021a8cbb0c317f75b52e96c82616526f9' (2025-07-20)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/62e0f05ede1da0d54515d4ea8ce9c733f12d9f08' (2025-07-14)
  → 'github:NixOS/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf' (2025-07-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/32a4e87942101f1c9f9865e04dc3ddb175f5f32e' (2025-07-15)
  → 'github:NixOS/nixpkgs/f01fe91b0108a7aff99c99f2e9abbc45db0adc2a' (2025-07-18)
• Updated input 'nur':
    'github:nix-community/NUR/945f926daf73c1380c8e45eaffc07904ae64195e' (2025-07-17)
  → 'github:nix-community/NUR/84d952a1ed63dede792f1a1c5e9ae5bfab38ca83' (2025-07-21)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/62e0f05ede1da0d54515d4ea8ce9c733f12d9f08' (2025-07-14)
  → 'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf' (2025-07-19)
2025-07-21 07:43:09 +02:00
2413b6cf03 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/c26266790678863cce8e7460fdbf0d80991b1906' (2025-07-13)
  → 'github:nix-community/home-manager/2e00ed310c218127e02ffcf28ddd4e0f669fde3e' (2025-07-15)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7ced9122cff2163c6a0212b8d1ec8c33a1660806' (2025-07-09)
  → 'github:NixOS/nixos-hardware/d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153' (2025-07-16)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0' (2025-07-08)
  → 'github:NixOS/nixpkgs/62e0f05ede1da0d54515d4ea8ce9c733f12d9f08' (2025-07-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/10e687235226880ed5e9f33f1ffa71fe60f2638a' (2025-07-10)
  → 'github:NixOS/nixpkgs/32a4e87942101f1c9f9865e04dc3ddb175f5f32e' (2025-07-15)
• Updated input 'nur':
    'github:nix-community/NUR/d34b5438c2e3cbcdb99b0c1951f732bdb9d834be' (2025-07-13)
  → 'github:nix-community/NUR/945f926daf73c1380c8e45eaffc07904ae64195e' (2025-07-17)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0' (2025-07-08)
  → 'github:nixos/nixpkgs/62e0f05ede1da0d54515d4ea8ce9c733f12d9f08' (2025-07-14)
2025-07-17 12:07:28 +02:00
530360e3f3 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/c6a01e54af81b381695db796a43360bf6db5702f' (2025-07-11)
  → 'github:nix-community/home-manager/c26266790678863cce8e7460fdbf0d80991b1906' (2025-07-13)
• Updated input 'nur':
    'github:nix-community/NUR/b2350b4af69a7c9799cad80f28b32d9bbee37139' (2025-07-12)
  → 'github:nix-community/NUR/d34b5438c2e3cbcdb99b0c1951f732bdb9d834be' (2025-07-13)
2025-07-13 18:45:27 +02:00
8f930215f4 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/9b0873b46c9f9e4b7aa01eb634952c206af53068' (2025-07-06)
  → 'github:nix-community/home-manager/c6a01e54af81b381695db796a43360bf6db5702f' (2025-07-11)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/497ae1357f1ac97f1aea31a4cb74ad0d534ef41f' (2025-07-02)
  → 'github:NixOS/nixos-hardware/7ced9122cff2163c6a0212b8d1ec8c33a1660806' (2025-07-09)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb' (2025-07-06)
  → 'github:NixOS/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0' (2025-07-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/29e290002bfff26af1db6f64d070698019460302' (2025-07-05)
  → 'github:NixOS/nixpkgs/10e687235226880ed5e9f33f1ffa71fe60f2638a' (2025-07-10)
• Updated input 'nur':
    'github:nix-community/NUR/4b0e8c78e8ff0e676b16fe4c60e80a9015064966' (2025-07-07)
  → 'github:nix-community/NUR/b2350b4af69a7c9799cad80f28b32d9bbee37139' (2025-07-12)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb' (2025-07-06)
  → 'github:nixos/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0' (2025-07-08)
2025-07-12 23:40:38 +02:00
28ea7844eb flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/501cfec8277f931a9c9af9f23d3105c537faeafe' (2025-07-02)
  → 'github:nix-community/home-manager/9b0873b46c9f9e4b7aa01eb634952c206af53068' (2025-07-06)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df' (2025-06-30)
  → 'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb' (2025-07-06)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/34627c90f062da515ea358360f448da57769236e' (2025-07-02)
  → 'github:NixOS/nixpkgs/29e290002bfff26af1db6f64d070698019460302' (2025-07-05)
• Updated input 'nur':
    'github:nix-community/NUR/42cd07059585b6f8fa44c9cd585099339bc52606' (2025-07-04)
  → 'github:nix-community/NUR/4b0e8c78e8ff0e676b16fe4c60e80a9015064966' (2025-07-07)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df' (2025-06-30)
  → 'github:nixos/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb' (2025-07-06)
• Removed input 'nur/treefmt-nix'
• Removed input 'nur/treefmt-nix/nixpkgs'
2025-07-07 11:45:57 +02:00
21b9b87e86 framenix: move nix build dir to tmpfs 2025-07-06 14:25:21 +02:00
a6a4865722 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/366f00797b1efb70f2882d3da485e3c10fd3d557' (2025-06-24)
  → 'github:nix-community/home-manager/501cfec8277f931a9c9af9f23d3105c537faeafe' (2025-07-02)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/f49bb3b4107a0917ee144337bb02d311033ee1ba' (2025-07-01)
  → 'github:NixOS/nixos-hardware/497ae1357f1ac97f1aea31a4cb74ad0d534ef41f' (2025-07-02)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b43c397f6c213918d6cfe6e3550abfe79b5d1c51' (2025-06-29)
  → 'github:NixOS/nixpkgs/34627c90f062da515ea358360f448da57769236e' (2025-07-02)
• Updated input 'nur':
    'github:nix-community/NUR/326860af7a41ac4d1ab8055bf88fdc8e79b82acf' (2025-07-01)
  → 'github:nix-community/NUR/42cd07059585b6f8fa44c9cd585099339bc52606' (2025-07-04)
2025-07-04 10:48:12 +02:00
205de75f07 nixpkgs: remove keepassxc patch after PR has reached channel 2025-07-01 21:47:05 +02:00
2adf23410c flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/98236410ea0fe204d0447149537a924fb71a6d4f' (2025-06-25)
  → 'github:NixOS/nixos-hardware/f49bb3b4107a0917ee144337bb02d311033ee1ba' (2025-07-01)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7' (2025-06-27)
  → 'github:NixOS/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df' (2025-06-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a676066377a2fe7457369dd37c31fd2263b662f4' (2025-06-26)
  → 'github:NixOS/nixpkgs/b43c397f6c213918d6cfe6e3550abfe79b5d1c51' (2025-06-29)
• Updated input 'nur':
    'github:nix-community/NUR/873e573a93300046272a0b3dec82b0f9e732458f' (2025-06-29)
  → 'github:nix-community/NUR/326860af7a41ac4d1ab8055bf88fdc8e79b82acf' (2025-07-01)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7' (2025-06-27)
  → 'github:nixos/nixpkgs/3016b4b15d13f3089db8a41ef937b13a9e33a8df' (2025-06-30)
2025-07-01 21:39:19 +02:00
10aad3f699 Revert "framenix: switch to LTS kernel"
This reverts commit 718ca8c60b.
2025-07-01 21:38:33 +02:00
ea6c61eff9 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7aae0ee71a17b19708b93b3ed448a1a0952bf111' (2025-06-05)
  → 'github:nix-community/home-manager/366f00797b1efb70f2882d3da485e3c10fd3d557' (2025-06-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/1552a9f4513f3f0ceedcf90320e48d3d47165712' (2025-06-20)
  → 'github:NixOS/nixos-hardware/98236410ea0fe204d0447149537a924fb71a6d4f' (2025-06-25)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/08f22084e6085d19bcfb4be30d1ca76ecb96fe54' (2025-06-19)
  → 'github:NixOS/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7' (2025-06-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b2485d56967598da068b5a6946dadda8bfcbcd37' (2025-06-20)
  → 'github:NixOS/nixpkgs/a676066377a2fe7457369dd37c31fd2263b662f4' (2025-06-26)
• Updated input 'nur':
    'github:nix-community/NUR/082e8247755fb0dff5640a6496337394e46c0f75' (2025-06-22)
  → 'github:nix-community/NUR/873e573a93300046272a0b3dec82b0f9e732458f' (2025-06-29)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/08f22084e6085d19bcfb4be30d1ca76ecb96fe54' (2025-06-19)
  → 'github:nixos/nixpkgs/30e2e2857ba47844aa71991daa6ed1fc678bcbb7' (2025-06-27)
2025-06-29 20:36:44 +02:00
43830ff5fa flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/d0bbd221482c2713cccb80220f3c9d16a6e20a33' (2025-05-18)
  → 'github:nix-community/home-manager/7aae0ee71a17b19708b93b3ed448a1a0952bf111' (2025-06-05)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282' (2025-05-20)
  → 'github:NixOS/nixos-hardware/1552a9f4513f3f0ceedcf90320e48d3d47165712' (2025-06-20)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
  → 'github:NixOS/nixpkgs/08f22084e6085d19bcfb4be30d1ca76ecb96fe54' (2025-06-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ca49c4304acf0973078db0a9d200fd2bae75676d' (2025-05-18)
  → 'github:NixOS/nixpkgs/b2485d56967598da068b5a6946dadda8bfcbcd37' (2025-06-20)
• Updated input 'nur':
    'github:nix-community/NUR/e52a85ce10a990ac6d7356f3a753fde0860426a8' (2025-05-20)
  → 'github:nix-community/NUR/082e8247755fb0dff5640a6496337394e46c0f75' (2025-06-22)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
  → 'github:nixos/nixpkgs/08f22084e6085d19bcfb4be30d1ca76ecb96fe54' (2025-06-19)
2025-06-22 15:14:39 +02:00
bea4bbfe3f nixos: use experimental nixos-rebuild-ng 2025-06-19 10:42:08 +02:00
b4acad44cf flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81' (2025-06-13)
  → 'github:NixOS/nixpkgs/9e83b64f727c88a7711a2c463a7b16eedb69a84c' (2025-06-17)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6c64dabd3aa85e0c02ef1cdcb6e1213de64baee3' (2025-06-15)
  → 'github:NixOS/nixpkgs/36ab78dab7da2e4e27911007033713bab534187b' (2025-06-17)
• Updated input 'nur':
    'github:nix-community/NUR/a08f1cd495f510a4e8f87c69165970bd97fdd84e' (2025-06-09)
  → 'github:nix-community/NUR/b44e74a3ca2f9ab75d4ad7cecc52a052faae9871' (2025-06-19)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f' (2025-06-07)
  → 'github:nixos/nixpkgs/9e83b64f727c88a7711a2c463a7b16eedb69a84c' (2025-06-17)
2025-06-19 10:24:50 +02:00
280cfd2a9e flake.lock: Update
Flake lock file updates:

• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/294d18da177b1e454104af7cd3c7002e34293209?narHash=sha256-9zwRWpVHlOLDbSngSCfppuogfHKnZ1N4j18WU5WzFBc%3D' (2025-06-11)
  → 'github:LnL7/nix-darwin/536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb?narHash=sha256-MEM9XXHgBF/Cyv1RES1t6gqAX7/tvayBC1r/KPyK1ls%3D' (2025-06-12)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/4602f7e1d3f197b3cb540d5accf5669121629628?narHash=sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM%3D' (2025-06-06)
  → 'github:NixOS/nixos-hardware/61837d2a33ccc1582c5fabb7bf9130d39fee59ad?narHash=sha256-ynqbgIYrg7P1fAKYqe8I/PMiLABBcNDYG9YaAP/d/C4%3D' (2025-06-16)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f?narHash=sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU%3D' (2025-06-07)
  → 'github:NixOS/nixpkgs/ee930f9755f58096ac6e8ca94a1887e0534e2d81?narHash=sha256-Kh9K4taXbVuaLC0IL%2B9HcfvxsSUx8dPB5s5weJcc9pc%3D' (2025-06-13)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/88331c17ba434359491e8d5889cce872464052c2?narHash=sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc%3D' (2025-06-09)
  → 'github:NixOS/nixpkgs/6c64dabd3aa85e0c02ef1cdcb6e1213de64baee3?narHash=sha256-h/aac1dGLhS3qpaD2aZt25NdKY7b%2BJT0ZIP2WuGsJMU%3D' (2025-06-15)
2025-06-16 23:45:03 +02:00
9d3d69a6ff apps.hm: provide description
silences a `nix flake check` warning
2025-06-12 10:48:01 +02:00
ca9aa161f8 flake.lock: Update
Flake lock file updates:

• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/75b99daa12b1fffd646d6c3cf13b06f1fa5cef63?narHash=sha256-qi6aDGP2W6GyAUNEhg%2BslQWEpUiJ8LNIrQkmxHpzadI%3D' (2025-05-27)
  → 'github:LnL7/nix-darwin/294d18da177b1e454104af7cd3c7002e34293209?narHash=sha256-9zwRWpVHlOLDbSngSCfppuogfHKnZ1N4j18WU5WzFBc%3D' (2025-06-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/70c74b02eac46f4e4aa071e45a6189ce0f6d9265?narHash=sha256-N5waoqWt8aMr/MykZjSErOokYH6rOsMMXu3UOVH5kiw%3D' (2025-06-06)
  → 'github:NixOS/nixpkgs/88331c17ba434359491e8d5889cce872464052c2?narHash=sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc%3D' (2025-06-09)
2025-06-12 10:38:41 +02:00
6f3575ae1c flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/282e1e029cb6ab4811114fc85110613d72771dea' (2025-05-31)
  → 'github:nix-community/home-manager/7aae0ee71a17b19708b93b3ed448a1a0952bf111' (2025-06-05)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/fc7c4714125cfaa19b048e8aaf86b9c53e04d853' (2025-06-03)
  → 'github:NixOS/nixos-hardware/4602f7e1d3f197b3cb540d5accf5669121629628' (2025-06-06)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/910796cabe436259a29a72e8d3f5e180fc6dfacc' (2025-05-31)
  → 'github:NixOS/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f' (2025-06-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/10d7f8d34e5eb9c0f9a0485186c1ca691d2c5922' (2025-06-02)
  → 'github:NixOS/nixpkgs/70c74b02eac46f4e4aa071e45a6189ce0f6d9265' (2025-06-06)
• Updated input 'nur':
    'github:nix-community/NUR/90add46380908ba4395f5f1dfec84224a3b0d4b9' (2025-06-03)
  → 'github:nix-community/NUR/a08f1cd495f510a4e8f87c69165970bd97fdd84e' (2025-06-09)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/910796cabe436259a29a72e8d3f5e180fc6dfacc' (2025-05-31)
  → 'github:nixos/nixpkgs/3e3afe5174c561dee0df6f2c2b2236990146329f' (2025-06-07)
2025-06-10 00:43:20 +02:00
c49b8019a1 home packages: install rsync to override openrsync shipped with macOS
On NixOS systems, it comes from the system packages anyways.
2025-06-06 11:58:09 +02:00
b924ec905b home: install vlc-bin on darwin 2025-06-05 00:52:43 +02:00
d6b3f85c3b fixup! flake, darwin: nixpkgs patching not required anymore with 25.05 2025-06-03 22:00:20 +02:00
f309196693 keepassxc: fix build on darwin
Pulling in a temporary patch for nixpkgs from an open PR.
2025-06-03 21:59:56 +02:00
c118bebe15 backintime: uninstall
not really used anymore
2025-06-03 21:09:29 +02:00
9a29b0411a flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/daa628a725ab4948e0e2b795e8fb6f4c3e289a7a' (2025-05-30)
  → 'github:NixOS/nixos-hardware/fc7c4714125cfaa19b048e8aaf86b9c53e04d853' (2025-06-03)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102' (2025-05-28)
  → 'github:NixOS/nixpkgs/910796cabe436259a29a72e8d3f5e180fc6dfacc' (2025-05-31)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979' (2025-05-28)
  → 'github:NixOS/nixpkgs/10d7f8d34e5eb9c0f9a0485186c1ca691d2c5922' (2025-06-02)
• Updated input 'nur':
    'github:nix-community/NUR/84d20e10373136d5741ff7d53fcf2b5a831518a0' (2025-05-31)
  → 'github:nix-community/NUR/90add46380908ba4395f5f1dfec84224a3b0d4b9' (2025-06-03)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102' (2025-05-28)
  → 'github:nixos/nixpkgs/910796cabe436259a29a72e8d3f5e180fc6dfacc' (2025-05-31)
2025-06-03 20:51:16 +02:00
718ca8c60b framenix: switch to LTS kernel
Hopefully the hardware is old enough now to work with LTS kernels. This
way we avoid build failures with 3rd party kernel modules (e.g.
virtualbox) that are not adapted yet.
2025-05-31 18:23:07 +02:00
afddb44d9c flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/83665c39fa688bd6a1f7c43cf7997a70f6a109f9' (2025-05-26)
  → 'github:nix-community/home-manager/282e1e029cb6ab4811114fc85110613d72771dea' (2025-05-31)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/11f2d9ea49c3e964315215d6baa73a8d42672f06' (2025-05-22)
  → 'github:NixOS/nixos-hardware/daa628a725ab4948e0e2b795e8fb6f4c3e289a7a' (2025-05-30)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/62b852f6c6742134ade1abdd2a21685fd617a291' (2025-05-25)
  → 'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102' (2025-05-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7c43f080a7f28b2774f3b3f43234ca11661bf334' (2025-05-25)
  → 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979' (2025-05-28)
• Updated input 'nur':
    'github:nix-community/NUR/86cc4fe96799d2415a824daf0cfcdfc7205e7fca' (2025-05-28)
  → 'github:nix-community/NUR/84d20e10373136d5741ff7d53fcf2b5a831518a0' (2025-05-31)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/62b852f6c6742134ade1abdd2a21685fd617a291' (2025-05-25)
  → 'github:nixos/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102' (2025-05-28)
2025-05-31 15:52:16 +02:00
a81f00bc83 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/d0bbd221482c2713cccb80220f3c9d16a6e20a33' (2025-05-18)
  → 'github:nix-community/home-manager/83665c39fa688bd6a1f7c43cf7997a70f6a109f9' (2025-05-26)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/2456ff5c95edfc3b197cb012b947012faed77591' (2025-05-23)
  → 'github:LnL7/nix-darwin/75b99daa12b1fffd646d6c3cf13b06f1fa5cef63' (2025-05-27)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c' (2025-05-23)
  → 'github:NixOS/nixpkgs/62b852f6c6742134ade1abdd2a21685fd617a291' (2025-05-25)
• Updated input 'nur':
    'github:nix-community/NUR/1fddc69b73b54110650213d13f363227da765237' (2025-05-25)
  → 'github:nix-community/NUR/86cc4fe96799d2415a824daf0cfcdfc7205e7fca' (2025-05-28)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c' (2025-05-23)
  → 'github:nixos/nixpkgs/62b852f6c6742134ade1abdd2a21685fd617a291' (2025-05-25)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3' (2025-05-22)
  → 'github:numtide/treefmt-nix/1f3f7b784643d488ba4bf315638b2b0a4c5fb007' (2025-05-26)
2025-05-28 03:48:48 +02:00
3c18ec5d0a flake.lock: Update
Flake lock file updates:

• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/74ecd01d2c122f8a4a48066ab1d48f3e01671671' (2025-05-20)
  → 'github:LnL7/nix-darwin/2456ff5c95edfc3b197cb012b947012faed77591' (2025-05-23)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282' (2025-05-20)
  → 'github:NixOS/nixos-hardware/11f2d9ea49c3e964315215d6baa73a8d42672f06' (2025-05-22)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
  → 'github:NixOS/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c' (2025-05-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ca49c4304acf0973078db0a9d200fd2bae75676d' (2025-05-18)
  → 'github:NixOS/nixpkgs/7c43f080a7f28b2774f3b3f43234ca11661bf334' (2025-05-25)
• Updated input 'nur':
    'github:nix-community/NUR/e52a85ce10a990ac6d7356f3a753fde0860426a8' (2025-05-20)
  → 'github:nix-community/NUR/1fddc69b73b54110650213d13f363227da765237' (2025-05-25)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
  → 'github:nixos/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c' (2025-05-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/ab0378b61b0d85e73a8ab05d5c6029b5bd58c9fb' (2025-05-17)
  → 'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3' (2025-05-22)
2025-05-25 19:17:53 +02:00
226cb11480 vscodium: use ruff for python formatting instead of black 2025-05-21 16:14:09 +02:00
603411fa64 thinknix: do not use powersave CPU governor
powersave turns out to be rather slow on today's software stacks
2025-05-21 00:13:09 +02:00
f03e5ae52c darwin: build adjustments for 25.05 2025-05-21 00:08:45 +02:00
2b06c59dd8 flake, darwin: nixpkgs patching not required anymore with 25.05
keeping the architecture for doing so available for future needs though.
2025-05-20 23:11:00 +02:00
c0db186d73 Merge branch 'upgrade-25.05' into mainline 2025-05-20 23:09:29 +02:00
82b0a6cab1 Adjustments for 24.11 -> 25.05
package replacements, warnings, deprecations
2025-05-20 23:08:03 +02:00
d95c277383 flake: nixpkgs 24.11 -> 25.05, relock all inputs
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/b4bbdc6fde16fc2051fcde232f6e288cd22007ca' (2025-05-12)
  → 'github:nix-community/home-manager/d0bbd221482c2713cccb80220f3c9d16a6e20a33' (2025-05-18)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/fc843893cecc1838a59713ee3e50e9e7edc6207c' (2025-03-28)
  → 'github:LnL7/nix-darwin/74ecd01d2c122f8a4a48066ab1d48f3e01671671' (2025-05-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/e81fd167b33121269149c57806599045fd33eeed' (2025-05-13)
  → 'github:NixOS/nixos-hardware/6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282' (2025-05-20)
• Updated input 'nixos-unstable':
    'github:NixOS/nixpkgs/d89fc19e405cb2d55ce7cc114356846a0ee5e956' (2025-05-10)
  → 'github:NixOS/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a39ed32a651fdee6842ec930761e31d1f242cb94' (2025-05-11)
  → 'github:NixOS/nixpkgs/ca49c4304acf0973078db0a9d200fd2bae75676d' (2025-05-18)
• Updated input 'nur':
    'github:nix-community/NUR/e29c558fa4174da179e2e7f9a41c34466a200fda' (2025-05-14)
  → 'github:nix-community/NUR/e52a85ce10a990ac6d7356f3a753fde0860426a8' (2025-05-20)
• Updated input 'nur/nixpkgs':
    'github:nixos/nixpkgs/d89fc19e405cb2d55ce7cc114356846a0ee5e956' (2025-05-10)
  → 'github:nixos/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043' (2025-05-18)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/29ec5026372e0dec56f890e50dbe4f45930320fd' (2025-05-02)
  → 'github:numtide/treefmt-nix/ab0378b61b0d85e73a8ab05d5c6029b5bd58c9fb' (2025-05-17)
2025-05-20 18:55:22 +02:00
18 changed files with 428 additions and 384 deletions

1
.git-blame-ignore-revs Normal file
View file

@ -0,0 +1 @@
ce54be9aac846c7798307d6d6fcee3346c01f601

View file

@ -28,7 +28,6 @@ in
# configure console # configure console
console = { console = {
font = "Lat2-Terminus16";
keyMap = "de"; keyMap = "de";
}; };
@ -181,7 +180,7 @@ in
# Flatpak support # Flatpak support
services.flatpak.enable = true; services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ]; xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
# Define a user account. Don't forget to set a password with `passwd`. # Define a user account. Don't forget to set a password with `passwd`.
users.users.spiollinux = { users.users.spiollinux = {
@ -269,4 +268,5 @@ in
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ]; networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
services.dbus.implementation = "broker"; services.dbus.implementation = "broker";
system.rebuild.enableNg = true;
} }

View file

@ -40,7 +40,7 @@
exfat exfat
iotop iotop
cifs-utils cifs-utils
dstat dool
lsof lsof
macchanger macchanger
borgbackup borgbackup

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Enable sound. # Enable sound.
hardware.pulseaudio = { services.pulseaudio = {
enable = true; enable = true;
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
# decouple pulseaudio application and sink volumes # decouple pulseaudio application and sink volumes

View file

@ -4,7 +4,6 @@
imports = [ ../common/nix-settings.nix ]; imports = [ ../common/nix-settings.nix ];
nix = { nix = {
enable = true; enable = true;
package = pkgs.nixVersions.nix_2_25;
settings = { settings = {
trusted-users = [ trusted-users = [
"os" "os"
@ -21,9 +20,6 @@
}; };
}; };
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # $ nix-env -qaP | grep wget
environment.systemPackages = [ pkgs.vim ]; environment.systemPackages = [ pkgs.vim ];
@ -38,6 +34,7 @@
# system-wide SSH configuration, used by nix-daemon for remote builders # system-wide SSH configuration, used by nix-daemon for remote builders
# show hidden files # show hidden files
system.primaryUser = "os";
system.defaults.NSGlobalDomain.AppleShowAllFiles = true; system.defaults.NSGlobalDomain.AppleShowAllFiles = true;
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.

80
flake.lock generated
View file

@ -102,16 +102,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1747020534, "lastModified": 1753592768,
"narHash": "sha256-D/6rkiC6w2p+4SwRiVKrWIeYzun8FBg7NlMKMwQMxO0=", "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "b4bbdc6fde16fc2051fcde232f6e288cd22007ca", "rev": "fc3add429f21450359369af74c2375cb34a2d204",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.11", "ref": "release-25.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -163,27 +163,27 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1743127615, "lastModified": 1749744770,
"narHash": "sha256-+sMGqywrSr50BGMLMeY789mSrzjkoxZiu61eWjYS/8o=", "narHash": "sha256-MEM9XXHgBF/Cyv1RES1t6gqAX7/tvayBC1r/KPyK1ls=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "fc843893cecc1838a59713ee3e50e9e7edc6207c", "rev": "536f951efb1ccda9b968e3c9dee39fbeb6d3fdeb",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "LnL7", "owner": "LnL7",
"ref": "nix-darwin-24.11", "ref": "nix-darwin-25.05",
"repo": "nix-darwin", "repo": "nix-darwin",
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1747129300, "lastModified": 1754564048,
"narHash": "sha256-L3clA5YGeYCF47ghsI7Tcex+DnaaN/BbQ4dR2wzoiKg=", "narHash": "sha256-dz303vGuzWjzOPOaYkS9xSW+B93PSAJxvBd6CambXVA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "e81fd167b33121269149c57806599045fd33eeed", "rev": "26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -195,11 +195,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1746904237, "lastModified": 1754725699,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,27 +243,27 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1746957726, "lastModified": 1754937576,
"narHash": "sha256-k9ut1LSfHCr0AW82ttEQzXVCqmyWVA5+SHJkS5ID/Jo=", "narHash": "sha256-3sWA5WJybUE16kIMZ3+uxcxKZY/JRR4DFBqLdSLBo7w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a39ed32a651fdee6842ec930761e31d1f242cb94", "rev": "ddae11e58c0c345bf66efbddbf2192ed0e58f896",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1746904237, "lastModified": 1754725699,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -276,15 +276,14 @@
"nur": { "nur": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3"
"treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1747261242, "lastModified": 1755080806,
"narHash": "sha256-6p8kO62jbk+LUrDrLT23XbClNRyosnlfh/KCbE5fwnQ=", "narHash": "sha256-P94SMIPWhpSX5tvX4ccFDEC1pm0SsddKNouM49Dz5Oo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "e29c558fa4174da179e2e7f9a41c34466a200fda", "rev": "3a675e8f6015cb8ea14138b0c69722b2a0e09dee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -330,7 +329,7 @@
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nur": "nur", "nur": "nur",
"treefmt-nix": "treefmt-nix_2", "treefmt-nix": "treefmt-nix",
"utils": "utils" "utils": "utils"
} }
}, },
@ -373,36 +372,15 @@
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nur",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1733222881, "lastModified": 1748243702,
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=", "narHash": "sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "49717b5af6f80172275d47a418c9719a31a78b53", "rev": "1f3f7b784643d488ba4bf315638b2b0a4c5fb007",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1746216483,
"narHash": "sha256-4h3s1L/kKqt3gMDcVfN8/4v2jqHrgLIe4qok4ApH5x4=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "29ec5026372e0dec56f890e50dbe4f45930320fd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,11 +2,11 @@
description = "NixOS system flake"; description = "NixOS system flake";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.11"; url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
lanzaboote = { lanzaboote = {
@ -19,7 +19,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-darwin = { nix-darwin = {
url = "github:LnL7/nix-darwin/nix-darwin-24.11"; url = "github:LnL7/nix-darwin/nix-darwin-25.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -53,7 +53,7 @@
(import nixpkgs { inherit system; }).applyPatches { (import nixpkgs { inherit system; }).applyPatches {
name = "nixpkgs-patched"; name = "nixpkgs-patched";
src = nixpkgs; src = nixpkgs;
patches = [ ./patches/nixos-nixpkgs-362c2bc76d359b908ad1389ee28c23ee0e862324.patch ]; patches = [ ];
}; };
# necessary to make the top-level inputs available to system configuration # necessary to make the top-level inputs available to system configuration
@ -166,6 +166,7 @@
# inspired by https://github.com/Mic92/dotfiles/blob/main/home-manager/flake-module.nix # inspired by https://github.com/Mic92/dotfiles/blob/main/home-manager/flake-module.nix
# run like: `nix run .#hm -- <action>` # run like: `nix run .#hm -- <action>`
apps.hm = { apps.hm = {
meta.description = "Wrapper around home-manager with automatic profile selection";
type = "app"; type = "app";
program = "${pkgs.writeShellScriptBin "hm" '' program = "${pkgs.writeShellScriptBin "hm" ''
set -x set -x

View file

@ -11,6 +11,7 @@
./modules/packages.nix ./modules/packages.nix
./modules/vscodium.nix ./modules/vscodium.nix
./modules/fonts.nix ./modules/fonts.nix
./modules/captive-browser.nix
]; ];
home.homeDirectory = home.homeDirectory =
if pkgs.stdenv.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}"; if pkgs.stdenv.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}";
@ -51,9 +52,7 @@
merge.tool = "vimdiff"; merge.tool = "vimdiff";
# provide `git mergetool -t nixfmt` # provide `git mergetool -t nixfmt`
mergetool.nixfmt = { mergetool.nixfmt = {
cmd = "${ cmd = "${lib.getExe pkgs.nixfmt-rfc-style} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
lib.getExe inputs.nixos-unstable.legacyPackages.${system}.nixfmt-rfc-style
} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
trustExitCode = true; trustExitCode = true;
}; };
core.excludesfile = toString ( core.excludesfile = toString (
@ -105,7 +104,7 @@
enable = true; enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
history.ignoreSpace = true; history.ignoreSpace = true;
initExtra = '' initContent = ''
# Uncomment following line if you want red dots to be displayed while waiting for completion # Uncomment following line if you want red dots to be displayed while waiting for completion
COMPLETION_WAITING_DOTS="true" COMPLETION_WAITING_DOTS="true"
### Fix slowness of pastes with zsh-syntax-highlighting.zsh ### Fix slowness of pastes with zsh-syntax-highlighting.zsh

View file

@ -33,46 +33,45 @@
contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; }; contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
in in
{ {
includes = includes = [
[ {
{ condition = "gitdir:~/Seafile/Studium/";
condition = "gitdir:~/Seafile/Studium/"; contents = {
user.name = contacts.personal.name;
user.email = contacts.uni.email;
};
}
{
condition = "gitdir:~/src/nixpkgs/";
contents = {
user.name = "Trolli Schmittlauch";
user.email = contacts.nixOs.email;
};
}
]
# set default name for several other common locations
++
map
(dir: {
condition = "gitdir:${dir}";
contents = { contents = {
user.name = contacts.personal.name; user = {
user.email = contacts.uni.email; inherit (contacts.schmittlauch) email name;
};
}
{
condition = "gitdir:~/src/nixpkgs/";
contents = {
user.name = "Trolli Schmittlauch";
user.email = contacts.nixOs.email;
};
}
]
# set default name for several other common locations
++
map
(dir: {
condition = "gitdir:${dir}";
contents = {
user = {
inherit (contacts.schmittlauch) email name;
};
}; };
}) };
[ })
"~/src/" [
"~/bin/" "~/src/"
"~/tmp/" "~/bin/"
"~/nixconfigs/" "~/tmp/"
]; "~/nixconfigs/"
];
}; };
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
#enableSshSupport = true; #enableSshSupport = true;
pinentryPackage = pkgs.pinentry-qt; pinentry.package = pkgs.pinentry-qt;
}; };
programs.ssh = { programs.ssh = {

View file

@ -0,0 +1,81 @@
{
pkgs,
lib,
inputs,
config,
system,
...
}:
let
tomlFormat = pkgs.formats.toml { };
cfg = config.programs.captive-browser;
inherit (pkgs.stdenv.hostPlatform) isDarwin;
in
{
options.programs.captive-browser = {
enable = lib.mkEnableOption "Enable custom captive-browser in user PATH";
package = lib.mkPackageOption pkgs "captive-browser" { nullable = true; };
settings = lib.mkOption {
type = lib.types.submodule {
freeformType = tomlFormat.type;
options = {
browser = lib.mkOption {
type = lib.types.str;
description = "command to invoke the browser with";
# browser is the shell (/bin/sh) command executed once the proxy starts.
# When browser exits, the proxy exits. An extra env var PROXY is available.
#
# Here, we use a separate Chrome instance in Incognito mode, so that
# it can run (and be waited for) alongside the default one, and that
# it maintains no state across runs. To configure this browser open a
# normal window in it, settings will be preserved.
default = ''
${cfg.browserCommand} \
--user-data-dir="$HOME/Library/Application Support/Google/Captive" \
--proxy-server="socks5://$PROXY" \
--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost" \
--no-first-run --new-window --incognito \
http://example.com
'';
};
};
};
};
interface = lib.mkOption {
type = lib.types.str;
description = "WLAN interface to use";
};
browserCommand = lib.mkOption {
type = lib.types.str;
default = if isDarwin then "open -n -W -a \"Google Chrome\" --args" else (lib.getExe pkgs.chromium);
};
};
config = lib.mkIf cfg.enable {
home.packages = [ cfg.package ];
programs.captive-browser.settings = builtins.mapAttrs (_: lib.mkOptionDefault) {
# dhcp-dns is the shell (/bin/sh) command executed to obtain the DHCP
# DNS server address. The first match of an IPv4 regex is used.
# IPv4 only, because let's be real, it's a captive portal.
dhcp-dns =
if isDarwin then
"ipconfig getoption ${cfg.interface} domain_name_server"
else
"${lib.getExe pkgs.dhcpcd} -U ${cfg.interface} | grep domain_name_servers";
# socks5-addr is the listen address for the SOCKS5 proxy server.
socks5-addr = "localhost:1666";
};
home.file.".config/captive-browser.toml" = lib.mkIf (isDarwin && !config.xdg.enable) {
source = tomlFormat.generate "captive-browser-config" cfg.settings;
};
xdg.configFile."captive-browser.toml" = lib.mkIf (!(isDarwin && !config.xdg.enable)) {
source = tomlFormat.generate "captive-browser-config" cfg.settings;
};
};
}

View file

@ -43,5 +43,6 @@ in
koma-script koma-script
; ;
}) })
] ++ lib.optionals config.schmittlauch.latex.guiTools latexGuiTools; ]
++ lib.optionals config.schmittlauch.latex.guiTools latexGuiTools;
} }

View file

@ -12,83 +12,85 @@ let
unstable = inputs.nixos-unstable.legacyPackages.${system}; unstable = inputs.nixos-unstable.legacyPackages.${system};
nur = inputs.nur.legacyPackages.${system}; nur = inputs.nur.legacyPackages.${system};
graphicsApps = graphicsApps = [
[ inkscape
inkscape darktable
darktable exiftool
exiftool ]
gimp ++ (with gimp3Plugins; [
] #fourier # broken
++ (with gimpPlugins; [ #lqrPlugin # broken
fourier ])
lqrPlugin ++ lib.optionals pkgs.stdenv.isLinux [
]) gimp3
++ lib.optionals pkgs.stdenv.isLinux [ hugin
hugin #luminanceHDR # FIXME, build failure
luminanceHDR xournalpp
xournal ]
]; ++ lib.optionals pkgs.stdenv.isDarwin [
gimp
];
multimediaApps = multimediaApps = [
[ mpv
mpv yt-dlp
yt-dlp ]
] ++ lib.optionals pkgs.stdenv.isDarwin [ vlc-bin ]
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals pkgs.stdenv.isLinux [
vlc vlc
amarok amarok
clementine clementine
elisa kdePackages.elisa
musescore musescore
tenacity tenacity
soundkonverter soundkonverter
#nur.repos.fooker.studio-link #nur.repos.fooker.studio-link
]; ];
cliApps = cliApps = [
[ coreutils
coreutils myVim
myVim htop
htop tmux
tmux httpie
httpie rsync
ponysay ponysay
gti gti
tree tree
lsof lsof
mosh mosh
openssh openssh
sshfs-fuse sshfs-fuse
sshuttle sshuttle
cryfs cryfs
thefuck thefuck
gnupg gnupg
unar unar
lzop lzop
p7zip p7zip
pwgen pwgen
pandoc pandoc
pdfgrep pdfgrep
# zig dependency breaks occasionally, stay on C version for now # zig dependency breaks occasionally, stay on C version for now
ncdu_1 ncdu_1
dos2unix dos2unix
unzip unzip
fswatch fswatch
jq jq
age age
lnav lnav
spacer spacer
nix-output-monitor # putting this here as a plain `nix` alternative nix-output-monitor # putting this here as a plain `nix` alternative
] ]
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals pkgs.stdenv.isLinux [
xclip xclip
smbnetfs # for FUSE smb mounting smbnetfs # for FUSE smb mounting
psmisc # for killall psmisc # for killall
torsocks torsocks
agrep agrep
reptyr # re-bind running program to other tty reptyr # re-bind running program to other tty
]; ];
nixHelpers = [ nixHelpers = [
nixpkgs-review nixpkgs-review
@ -96,33 +98,32 @@ let
nix-top nix-top
statix statix
]; ];
devTools = devTools = [
[ curl
curl httpie
httpie gcc
gcc shellcheck
shellcheck mtr
mtr ripgrep
ripgrep fd
fd gitui
gitui pre-commit
pre-commit scriv
scriv
# Haskell # Haskell
ghc ghc
cabal2nix cabal2nix
] ]
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals pkgs.stdenv.isLinux [
gdb gdb
strace strace
ltrace ltrace
valgrind valgrind
zeal zeal
]; ];
pythonTools = with python3Packages; [ pythonTools = with python3Packages; [
python3 # to shadow old macOS python python # to shadow old macOS python
ipython ipython
uv uv
pip pip
@ -142,13 +143,12 @@ let
desktopCommon = [ desktopCommon = [
keepassxc keepassxc
tigervnc
]; ];
desktopLinux = [ desktopLinux = [
firefox firefox
chromium chromium
falkon kdePackages.falkon
thunderbird thunderbird
calibre calibre
dino dino
@ -164,15 +164,15 @@ let
seafile-client seafile-client
alacritty alacritty
libreoffice-qt6 # still with KDE integration libreoffice-qt6 # still with KDE integration
backintime-common
anki anki
signal-desktop signal-desktop
(tor-browser-bundle-bin.override { (tor-browser-bundle-bin.override {
mediaSupport = true; mediaSupport = true;
pulseaudioSupport = pkgs.stdenv.isLinux; pulseaudioSupport = pkgs.stdenv.isLinux;
}) })
tigervnc
rustdesk-flutter
pdfpc pdfpc
quaternion
nheko nheko
gpxsee gpxsee
subsurface subsurface
@ -183,7 +183,7 @@ let
#(pkgs.pidgin-with-plugins.override { #(pkgs.pidgin-with-plugins.override {
# plugins = [ pkgs.pidginotr ];}) # plugins = [ pkgs.pidginotr ];})
unstable.logseq logseq
# for Hibiscus banking software # for Hibiscus banking software
jameica jameica
@ -192,33 +192,32 @@ let
chromedriver chromedriver
]; ];
kdeTools = kdeTools = [
[ okteta
okteta plasma5Packages.kdeconnect-kde
plasma5Packages.kdeconnect-kde ]
] ++ (with kdePackages; [
++ (with kdePackages; [ okular
okular gwenview
gwenview yakuake
yakuake dolphin
dolphin spectacle
spectacle kate
kate kleopatra
kleopatra qdirstat
qdirstat ark
ark kwalletmanager
kwalletmanager #ktouch # TODO: unbreak
#ktouch # TODO: unbreak kcharselect
kcharselect konversation
konversation krdc
krdc skanlite
skanlite akonadiconsole
akonadiconsole tokodon # mastodon client
tokodon # mastodon client networkmanager-qt
networkmanager-qt kcrash
kcrash breeze-gtk
breeze-gtk ]);
]);
in in
{ {
options.schmittlauch.packages = { options.schmittlauch.packages = {

View file

@ -11,112 +11,110 @@
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
mutableExtensionsDir = true; mutableExtensionsDir = true;
extensions = profiles.default = {
with pkgs.vscode-extensions; extensions =
[ with pkgs.vscode-extensions;
ms-python.python [
vscodevim.vim ms-python.python
yzhang.markdown-all-in-one charliermarsh.ruff
bungcip.better-toml vscodevim.vim
eamodio.gitlens yzhang.markdown-all-in-one
jnoortheen.nix-ide bungcip.better-toml
mkhl.direnv eamodio.gitlens
editorconfig.editorconfig jnoortheen.nix-ide
] mkhl.direnv
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ editorconfig.editorconfig
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "Sync-Rsync";
publisher = "vscode-ext";
version = "0.36.0";
sha256 = "sha256-0b/OHLZfXo0NAVAVkzZSqMGDzF0uvPRoiqsZtW1iOdA";
}
# TODO: probably available in nixpkgs soonish?
{
name = "mypy-type-checker";
publisher = "ms-python";
version = "2023.3.12681020";
sha256 = "sha256-rhed7CQlvxksVCGc9nPU2oYQWtXcAV5TzuG63e8Y3zM=";
}
{
name = "vscode-pets";
publisher = "tonybaloney";
version = "1.25.1";
sha256 = "sha256-as3e2LzKBSsiGs/UGIZ06XqbLh37irDUaCzslqITEJQ=";
}
];
userSettings =
let
defaultPython = pkgs.python3.withPackages (ps: [
ps.jedi
ps.jedi-language-server
ps.pip
ps.setuptools # for pkg_resources
ps.black
ps.mypy
]);
in
{ {
name = "Sync-Rsync"; "editor.fontLigatures" = true;
publisher = "vscode-ext"; "editor.accessibilitySupport" = false; # prevent asking
version = "0.36.0"; "editor.cursorBlinking" = "phase";
sha256 = "sha256-0b/OHLZfXo0NAVAVkzZSqMGDzF0uvPRoiqsZtW1iOdA"; "editor.stickyScroll.enabled" = true;
} "workbench.editor.highlightModifiedTabs" = true;
# TODO: probably available in nixpkgs soonish? "window.autoDetectColorScheme" = true;
{ "workbench.preferredDarkColorTheme" = "Default Dark Modern";
name = "mypy-type-checker"; "workbench.preferredLightColorTheme" = "Default Light Modern";
publisher = "ms-python"; "[nix]" = {
version = "2023.3.12681020"; "editor.insertSpaces" = true;
sha256 = "sha256-rhed7CQlvxksVCGc9nPU2oYQWtXcAV5TzuG63e8Y3zM="; "editor.tabSize" = 2;
} # for now, disable automatic formatting to prevent disruption of existing code bases
{ "editor.formatOnPaste" = false;
name = "black-formatter"; "editor.formatOnSave" = false;
publisher = "ms-python"; "editor.formatOnType" = false;
version = "2023.5.12771008"; };
sha256 = "sha256-lJG0RRUUMhQGs2a6oBtoqt+uY1kSJ0+cbmaP07hNh2o="; "nix.formatterPath" = lib.getExe pkgs.nixfmt-rfc-style;
} "nix.enableLanguageServer" = true;
{ "nix.serverPath" = lib.getExe pkgs.nixd;
name = "vscode-pets"; "nix.serverSettings" = { };
publisher = "tonybaloney"; "editor.fontSize" = 13;
version = "1.25.1"; "editor.fontWeight" = "normal";
sha256 = "sha256-as3e2LzKBSsiGs/UGIZ06XqbLh37irDUaCzslqITEJQ="; "git.detectSubmodulesLimit" = 30;
} "[python]" = {
]; "breadcrumbs.showClasses" = true;
userSettings = "breadcrumbs.showFunctions" = true;
let "gitlens.codeLens.symbolScopes" = [ "!Module" ];
defaultPython = pkgs.python3.withPackages (ps: [ "editor.defaultFormatter" = "charliermarsh.ruff";
ps.jedi "editor.formatOnSave" = true;
ps.jedi-language-server };
ps.pip "python.experiments.enabled" = false;
ps.setuptools # for pkg_resources "python.languageServer" = "Jedi"; # don't use proprietary pylance server
ps.black "python.defaultInterpreterPath" = "${defaultPython}/bin/python";
ps.mypy "mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/mypy" ];
]); "mypy-type-checker.importStrategy" = "fromEnvironment";
in "mypy-type-checker.args" = [ "--ignore-missing-imports" ];
{ "ruff.path" = [ (lib.getExe pkgs.ruff) ];
"editor.fontLigatures" = true; "ruff.importStrategy" = "fromEnvironment";
"editor.accessibilitySupport" = false; # prevent asking "gitlens.telemetry.enabled" = false;
"editor.cursorBlinking" = "phase"; "vim.highlightedyank.enable" = true;
"editor.stickyScroll.enabled" = true; "vim.history" = 500;
"workbench.editor.highlightModifiedTabs" = true; "vim.neovimUseConfigFile" = true;
"window.autoDetectColorScheme" = true; "vim.enableNeovim" = true;
"workbench.preferredDarkColorTheme" = "Default Dark Modern"; "git.suggestSmartCommit" = false;
"workbench.preferredLightColorTheme" = "Default Light Modern"; "editor.rulers" = [ 79 ];
"[nix]" = { "vim.useSystemClipboard" = true;
"editor.insertSpaces" = true; "vim.smartRelativeLine" = true;
"editor.tabSize" = 2; "diffEditor.ignoreTrimWhitespace" = false;
# for now, disable automatic formatting to prevent disruption of existing code bases "files.associations" = {
"editor.formatOnPaste" = false; "*.py" = "python";
"editor.formatOnSave" = false; };
"editor.formatOnType" = false; "editor.renderWhitespace" = "all";
"editor.fontFamily" = "Iosevka Curly Slab, Menlo, Monaco, 'Courier New', monospace";
"vim.neovimPath" = lib.getExe pkgs.myVim;
"sync-rsync.options" = [ ];
"direnv.path.executable" = lib.getExe pkgs.direnv;
}; };
"nix.formatterPath" = lib.getExe pkgs.nixfmt-rfc-style; };
"nix.enableLanguageServer" = true;
"nix.serverPath" = lib.getExe pkgs.nixd;
"nix.serverSettings" = { };
"editor.fontSize" = 13;
"editor.fontWeight" = "normal";
"git.detectSubmodulesLimit" = 30;
"[python]" = {
"breadcrumbs.showClasses" = true;
"breadcrumbs.showFunctions" = true;
"gitlens.codeLens.symbolScopes" = [ "!Module" ];
"editor.defaultFormatter" = "ms-python.black-formatter";
"editor.formatOnSave" = true;
};
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
"python.defaultInterpreterPath" = "${defaultPython}/bin/python";
"black-formatter.path" = [ "${pkgs.python3Packages.black}/bin/black" ];
"black-formatter.importStrategy" = "fromEnvironment";
"mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/mypy" ];
"mypy-type-checker.importStrategy" = "fromEnvironment";
"mypy-type-checker.args" = [ "--ignore-missing-imports" ];
"gitlens.telemetry.enabled" = false;
"vim.highlightedyank.enable" = true;
"vim.history" = 500;
"vim.neovimUseConfigFile" = true;
"vim.enableNeovim" = true;
"git.suggestSmartCommit" = false;
"editor.rulers" = [ 79 ];
"vim.useSystemClipboard" = true;
"vim.smartRelativeLine" = true;
"diffEditor.ignoreTrimWhitespace" = false;
"files.associations" = {
"*.py" = "python";
};
"editor.renderWhitespace" = "all";
"editor.fontFamily" = "Iosevka Curly Slab, Menlo, Monaco, 'Courier New', monospace";
"vim.neovimPath" = lib.getExe pkgs.myVim;
"sync-rsync.options" = [ ];
"direnv.path.executable" = lib.getExe pkgs.direnv;
};
}; };
} }

View file

@ -35,9 +35,11 @@ in
# defaults in bottom match block "*" # defaults in bottom match block "*"
# TODO: common config for desktop as well # TODO: common config for desktop as well
# multiplexer, e.g. to avoid rate limiting on jumphost usage # multiplexer, e.g. to avoid rate limiting on jumphost usage
serverAliveInterval = 60; serverAliveInterval = 10;
serverAliveCountMax = 2; # 2 strikes and you're out
controlMaster = "auto"; controlMaster = "auto";
controlPersist = "4h"; # not too long, due to the frequent keepalives
controlPersist = "1h";
# ssh host config # ssh host config
matchBlocks = { matchBlocks = {
@ -45,7 +47,6 @@ in
"*" = { "*" = {
extraOptions = { extraOptions = {
IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\""; IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
#ControlPath = "/tmp/ssh_mux_%h_%p_%r";
}; };
}; };
@ -66,34 +67,38 @@ in
contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; }; contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
in in
{ {
includes = includes = [
[ {
{ condition = "gitdir:~/src/schmittlauch/";
condition = "gitdir:~/src/schmittlauch/";
contents = {
user = {
inherit (contacts.schmittlauch) name email;
};
};
}
]
# set default name for several other common locations
++ map (dir: {
condition = "gitdir:${dir}";
contents = { contents = {
user = { user = {
inherit (contacts.work) name email; inherit (contacts.schmittlauch) name email;
}; };
}; };
}) [ "~/" ]; }
]
# set default name for several other common locations
++ map (dir: {
condition = "gitdir:${dir}";
contents = {
user = {
inherit (contacts.work) name email;
};
};
}) [ "~/" ];
}; };
# some extra shell scripts # some extra shell scripts
programs.zsh.initExtra = lib.mkAfter ( programs.zsh.initContent = lib.mkAfter (
import ./scripts/reporsync.nix { inherit pkgs lib; } import ./scripts/reporsync.nix { inherit pkgs lib; }
+ import ./scripts/ssh-loop-fc.nix { inherit pkgs lib; } + import ./scripts/ssh-loop-fc.nix { inherit pkgs lib; }
); );
# separate proxied browser using the DHCP-supplied DNS for accessing captive portals
programs.captive-browser = {
enable = true;
interface = "en0";
};
launchd.agents.hydra_proxy = { launchd.agents.hydra_proxy = {
enable = true; enable = true;
config = { config = {
@ -103,7 +108,7 @@ in
"0" "0"
"-D" "-D"
"1080" "1080"
"-oServerAliveInterval=60" "-oServerAliveInterval=30"
"-oControlMaster=no" "-oControlMaster=no"
"-N" "-N"
"vpn-whq.services.fcio.net" "vpn-whq.services.fcio.net"

View file

@ -39,6 +39,17 @@ in
fsType = "vfat"; fsType = "vfat";
options = [ "discard" ]; options = [ "discard" ];
}; };
# nix/ lix build directory
# lix:
# > If you plan to use a tmpfs, we **strongly recommend** to set `mode=0755` as a mount option for that `tmpfs`, otherwise you are effectively reverting this mitigation.
"/nix/var/nix/builds" = {
device = "tmpfs";
fsType = "tmpfs";
options = [
"mode=0755"
"size=75%"
];
};
}; };
services.fstrim.enable = true; services.fstrim.enable = true;

View file

@ -21,7 +21,6 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
nix.settings.max-jobs = lib.mkDefault 4; nix.settings.max-jobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
# modesetting is always better than intel (legacy) # modesetting is always better than intel (legacy)
services.xserver.videoDrivers = [ "modesetting" ]; services.xserver.videoDrivers = [ "modesetting" ];

1
nixremotebuildermachines Normal file
View file

@ -0,0 +1 @@
ssh-ng://schmittlauch@build01.nix-community.org x86_64-linux /root/.ssh/remote_builder_key 64 1 big-parallel,kvm,nixos-test -

View file

@ -1,26 +0,0 @@
From 362c2bc76d359b908ad1389ee28c23ee0e862324 Mon Sep 17 00:00:00 2001
From: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Date: Mon, 7 Apr 2025 21:03:09 -0400
Subject: [PATCH] nodejs_20: fix test failure on darwin on latest MacOS 15.4
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
(cherry picked from commit 9674c1f688d12b99fbde26e6068ab62609fef3b1)
---
pkgs/development/web/nodejs/v20.nix | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pkgs/development/web/nodejs/v20.nix b/pkgs/development/web/nodejs/v20.nix
index b9c9345c441afa..20cceb5b5d1cda 100644
--- a/pkgs/development/web/nodejs/v20.nix
+++ b/pkgs/development/web/nodejs/v20.nix
@@ -50,5 +50,10 @@ buildNodejs {
stripLen = 1;
hash = "sha256-6y3aEqxNC4iTQEv1oewodJrhOHxjp5xZMq1P1QL94Rg=";
})
+ # fix test failure on macos 15.4
+ (fetchpatch2 {
+ url = "https://github.com/nodejs/node/commit/33f6e1ea296cd20366ab94e666b03899a081af94.patch?full_index=1";
+ hash = "sha256-aVBMcQlhQeviUQpMIfC988jjDB2BgYzlMYsq+w16mzU=";
+ })
] ++ gypPatches;
}