From da4fc60c802f431c66c0670a90bf7e6d605fb5a0 Mon Sep 17 00:00:00 2001 From: Seven of Nine Date: Wed, 23 Apr 2025 15:02:05 +0000 Subject: [PATCH 01/11] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'catppuccin': 'github:catppuccin/nix/07beb389d69a52c4dd5895da9553463c3740a26a' (2025-04-04) → 'github:catppuccin/nix/6268e50dbb0ac9375e110560395b5dc199e4dfb8' (2025-04-22) • Updated input 'catppuccin/nixpkgs': 'github:NixOS/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434' (2025-04-02) → 'github:NixOS/nixpkgs/2631b0b7abcea6e640ce31cd78ea58910d31e650' (2025-04-12) • Updated input 'disko': 'github:nix-community/disko/76c0a6dba345490508f36c1aa3c7ba5b6b460989' (2025-04-08) → 'github:nix-community/disko/c5140c6079ff690e85eac0b86e254de16a79a4b7' (2025-04-23) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/8aa1c071bbcb8a270bb841e4797a0d14528709d4' (2025-04-11) → 'github:nix-community/emacs-overlay/d8bad40da349c15b37f83159019a5e7f452cecc6' (2025-04-23) • Updated input 'emacs-overlay/nixpkgs': 'github:NixOS/nixpkgs/c8cd81426f45942bb2906d5ed2fe21d2f19d95b7' (2025-04-08) → 'github:NixOS/nixpkgs/c11863f1e964833214b767f4a369c6e6a7aba141' (2025-04-21) • Updated input 'emacs-overlay/nixpkgs-stable': 'github:NixOS/nixpkgs/60e405b241edb6f0573f3d9f944617fe33ac4a73' (2025-04-09) → 'github:NixOS/nixpkgs/9684b53175fc6c09581e94cc85f05ab77464c7e3' (2025-04-21) • Updated input 'homeManager': 'github:nix-community/home-manager/f1ffd097e717a8d1b441577b8d23f9d2c96e0657' (2025-04-11) → 'github:nix-community/home-manager/6c132a098e61163fb559db986efe913acd3df4e7' (2025-04-23) • Updated input 'lanzaboote': 'github:nix-community/lanzaboote/d8099586d9a84308ffedac07880e7f07a0180ff4' (2025-03-08) → 'github:nix-community/lanzaboote/995637eb3ab78eac33f8ee6b45cc2ecd5ede12ba' (2025-04-21) • Updated input 'lanzaboote/crane': 'github:ipetkov/crane/75390a36cd0c2cdd5f1aafd8a9f827d7107f2e53' (2025-03-05) → 'github:ipetkov/crane/bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5' (2025-03-09) • Updated input 'lanzaboote/flake-parts': 'github:hercules-ci/flake-parts/3876f6b87db82f33775b1ef5ea343986105db764' (2025-03-01) → 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9' (2025-03-07) • Updated input 'lanzaboote/pre-commit-hooks-nix': 'github:cachix/pre-commit-hooks.nix/42b1ba089d2034d910566bf6b40830af6b8ec732' (2025-03-02) → 'github:cachix/pre-commit-hooks.nix/b5a62751225b2f62ff3147d0a334055ebadcd5cc' (2025-03-07) • Updated input 'lanzaboote/rust-overlay': 'github:oxalica/rust-overlay/38e9826bc4296c9daf18bc1e6aa299f3e932a403' (2025-03-06) → 'github:oxalica/rust-overlay/c777dc8a1e35407b0e80ec89817fe69970f4e81a' (2025-03-10) • Updated input 'lix': 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=81d476984901d1f00fdcac36a0a8f06cb54048f6' (2025-04-10) → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702' (2025-04-22) • Updated input 'nixosHardware': 'github:NixOS/nixos-hardware/de6fc5551121c59c01e2a3d45b277a6d05077bc4' (2025-03-31) → 'github:NixOS/nixos-hardware/8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64' (2025-04-23) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c8cd81426f45942bb2906d5ed2fe21d2f19d95b7' (2025-04-08) → 'github:NixOS/nixpkgs/c11863f1e964833214b767f4a369c6e6a7aba141' (2025-04-21) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/815e4121d6a5d504c0f96e5be2dd7f871e4fd99d' (2025-04-04) → 'github:numtide/treefmt-nix/8d404a69efe76146368885110f29a2ca3700bee6' (2025-04-18) --- flake.lock | 98 +++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/flake.lock b/flake.lock index d2b963b..0b62241 100644 --- a/flake.lock +++ b/flake.lock @@ -26,11 +26,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1743801669, - "narHash": "sha256-RxQQQCGqywOPbdNrWGbFyFdcrdrXM4YBHW7vYt13OeI=", + "lastModified": 1745352209, + "narHash": "sha256-u3vJEzi6zxgG59KXjMR5koERsdKT5nd1OEKCpr6zgn8=", "owner": "catppuccin", "repo": "nix", - "rev": "07beb389d69a52c4dd5895da9553463c3740a26a", + "rev": "6268e50dbb0ac9375e110560395b5dc199e4dfb8", "type": "github" }, "original": { @@ -41,11 +41,11 @@ }, "crane": { "locked": { - "lastModified": 1741148495, - "narHash": "sha256-EV8KUaIZ2/CdBXlutXrHoZYbWPeB65p5kKZk71gvDRI=", + "lastModified": 1741481578, + "narHash": "sha256-JBTSyJFQdO3V8cgcL08VaBUByEU6P5kXbTJN6R0PFQo=", "owner": "ipetkov", "repo": "crane", - "rev": "75390a36cd0c2cdd5f1aafd8a9f827d7107f2e53", + "rev": "bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5", "type": "github" }, "original": { @@ -83,11 +83,11 @@ ] }, "locked": { - "lastModified": 1744145203, - "narHash": "sha256-I2oILRiJ6G+BOSjY+0dGrTPe080L3pbKpc+gCV3Nmyk=", + "lastModified": 1745369821, + "narHash": "sha256-mi6cAjuBztm9gFfpiVo6mAn81cCID6nmDXh5Kmyjwyc=", "owner": "nix-community", "repo": "disko", - "rev": "76c0a6dba345490508f36c1aa3c7ba5b6b460989", + "rev": "c5140c6079ff690e85eac0b86e254de16a79a4b7", "type": "github" }, "original": { @@ -122,11 +122,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1744337628, - "narHash": "sha256-ghjocOkjH1pSMiyX7h6+gJmLsgcief/+D+Cbcum8HsI=", + "lastModified": 1745400268, + "narHash": "sha256-dNSzXe3GNwoBYUBGBjXTvBaWfBSDFheWyIbEu+g0Et8=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "8aa1c071bbcb8a270bb841e4797a0d14528709d4", + "rev": "d8bad40da349c15b37f83159019a5e7f452cecc6", "type": "github" }, "original": { @@ -191,11 +191,11 @@ ] }, "locked": { - "lastModified": 1740872218, - "narHash": "sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo=", + "lastModified": 1741352980, + "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "3876f6b87db82f33775b1ef5ea343986105db764", + "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", "type": "github" }, "original": { @@ -387,11 +387,11 @@ ] }, "locked": { - "lastModified": 1744343724, - "narHash": "sha256-DkiOZlkXbdf6f09pSulJPE0IaaJi1p7sqia/G2kqNKI=", + "lastModified": 1745416071, + "narHash": "sha256-L8mEeVZvS1e0XaEDsibClr4MhBzqrxhUDiiAIbDnZGM=", "owner": "nix-community", "repo": "home-manager", - "rev": "f1ffd097e717a8d1b441577b8d23f9d2c96e0657", + "rev": "6c132a098e61163fb559db986efe913acd3df4e7", "type": "github" }, "original": { @@ -448,11 +448,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1741442524, - "narHash": "sha256-tVcxLDLLho8dWcO81Xj/3/ANLdVs0bGyCPyKjp70JWk=", + "lastModified": 1745271491, + "narHash": "sha256-4GAHjus6JRpYHVROMIhFIz/sgLDF/klBM3UHulbSK9s=", "owner": "nix-community", "repo": "lanzaboote", - "rev": "d8099586d9a84308ffedac07880e7f07a0180ff4", + "rev": "995637eb3ab78eac33f8ee6b45cc2ecd5ede12ba", "type": "github" }, "original": { @@ -464,11 +464,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1744302352, - "narHash": "sha256-QJQecf/Z1rLZBpVoQaI+EunLX5U7c7uYGER5iw00YrI=", + "lastModified": 1745340344, + "narHash": "sha256-FUhusarVwMBrKmsfLFWj+L67/JT4bO/FILhHqKQLnZs=", "ref": "refs/heads/main", - "rev": "81d476984901d1f00fdcac36a0a8f06cb54048f6", - "revCount": 17777, + "rev": "7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702", + "revCount": 17786, "type": "git", "url": "https://git@git.lix.systems/lix-project/lix" }, @@ -569,11 +569,11 @@ }, "nixosHardware": { "locked": { - "lastModified": 1743420942, - "narHash": "sha256-b/exDDQSLmENZZgbAEI3qi9yHkuXAXCPbormD8CSJXo=", + "lastModified": 1745392233, + "narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "de6fc5551121c59c01e2a3d45b277a6d05077bc4", + "rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64", "type": "github" }, "original": { @@ -647,11 +647,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1744168086, - "narHash": "sha256-S9M4HddBCxbbX1CKSyDYgZ8NCVyHcbKnBfoUXeRu2jQ=", + "lastModified": 1745279238, + "narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "60e405b241edb6f0573f3d9f944617fe33ac4a73", + "rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3", "type": "github" }, "original": { @@ -679,11 +679,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1743583204, - "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=", + "lastModified": 1744463964, + "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", + "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", "type": "github" }, "original": { @@ -711,11 +711,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1744098102, - "narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=", + "lastModified": 1745234285, + "narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7", + "rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "type": "github" }, "original": { @@ -742,11 +742,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1744098102, - "narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=", + "lastModified": 1745234285, + "narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7", + "rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "type": "github" }, "original": { @@ -821,11 +821,11 @@ ] }, "locked": { - "lastModified": 1740915799, - "narHash": "sha256-JvQvtaphZNmeeV+IpHgNdiNePsIpHD5U/7QN5AeY44A=", + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "42b1ba089d2034d910566bf6b40830af6b8ec732", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", "type": "github" }, "original": { @@ -906,11 +906,11 @@ ] }, "locked": { - "lastModified": 1741228283, - "narHash": "sha256-VzqI+k/eoijLQ5am6rDFDAtFAbw8nltXfLBC6SIEJAE=", + "lastModified": 1741573199, + "narHash": "sha256-A2sln1GdCf+uZ8yrERSCZUCqZ3JUlOv1WE2VFqqfaLQ=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "38e9826bc4296c9daf18bc1e6aa299f3e932a403", + "rev": "c777dc8a1e35407b0e80ec89817fe69970f4e81a", "type": "github" }, "original": { @@ -1009,11 +1009,11 @@ ] }, "locked": { - "lastModified": 1743748085, - "narHash": "sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660+gbUU3cE=", + "lastModified": 1744961264, + "narHash": "sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "815e4121d6a5d504c0f96e5be2dd7f871e4fd99d", + "rev": "8d404a69efe76146368885110f29a2ca3700bee6", "type": "github" }, "original": { From 652fbe4026721609462d43999c91c59c1d886c5a Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 11:54:51 +0200 Subject: [PATCH 02/11] Add `moonlight` to `picard` --- hosts/picard/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/picard/default.nix b/hosts/picard/default.nix index 58038d3..3eecfbf 100644 --- a/hosts/picard/default.nix +++ b/hosts/picard/default.nix @@ -97,6 +97,7 @@ "ib-tws" "zoom" "pantalaimon" + "moonlight" ]; extraGroups = [ "plugdev" ]; backupPaths = [ ]; From a32c23d47494ebe1abc8a61f434488c0a7825059 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 11:55:01 +0200 Subject: [PATCH 03/11] Useless comment and args --- modules/wireguard-common/default.nix | 2 -- modules/wireguard-server/default.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/wireguard-common/default.nix b/modules/wireguard-common/default.nix index e67cf81..6451aa5 100644 --- a/modules/wireguard-common/default.nix +++ b/modules/wireguard-common/default.nix @@ -1,7 +1,5 @@ { - lib, config, - vpn, ... }: { diff --git a/modules/wireguard-server/default.nix b/modules/wireguard-server/default.nix index 27c8a8a..a02ccad 100644 --- a/modules/wireguard-server/default.nix +++ b/modules/wireguard-server/default.nix @@ -9,7 +9,7 @@ networking.nat.enable = true; - networking.firewall.allowedUDPPorts = [ config.networking.wireguard.interfaces.wg0.listenPort ]; # FIXME move this to wireguard-server + networking.firewall.allowedUDPPorts = [ config.networking.wireguard.interfaces.wg0.listenPort ]; networking.wireguard.interfaces.wg0 = { ips = [ "${vpn.${config.networking.hostName}.ip}/24" ]; From 44c45c48a1bb45b9f095ee25706f3288418946c8 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:05:13 +0200 Subject: [PATCH 04/11] Bump inputs --- flake.lock | 98 +++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/flake.lock b/flake.lock index d2b963b..88990b0 100644 --- a/flake.lock +++ b/flake.lock @@ -26,11 +26,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1743801669, - "narHash": "sha256-RxQQQCGqywOPbdNrWGbFyFdcrdrXM4YBHW7vYt13OeI=", + "lastModified": 1745352209, + "narHash": "sha256-u3vJEzi6zxgG59KXjMR5koERsdKT5nd1OEKCpr6zgn8=", "owner": "catppuccin", "repo": "nix", - "rev": "07beb389d69a52c4dd5895da9553463c3740a26a", + "rev": "6268e50dbb0ac9375e110560395b5dc199e4dfb8", "type": "github" }, "original": { @@ -41,11 +41,11 @@ }, "crane": { "locked": { - "lastModified": 1741148495, - "narHash": "sha256-EV8KUaIZ2/CdBXlutXrHoZYbWPeB65p5kKZk71gvDRI=", + "lastModified": 1741481578, + "narHash": "sha256-JBTSyJFQdO3V8cgcL08VaBUByEU6P5kXbTJN6R0PFQo=", "owner": "ipetkov", "repo": "crane", - "rev": "75390a36cd0c2cdd5f1aafd8a9f827d7107f2e53", + "rev": "bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5", "type": "github" }, "original": { @@ -83,11 +83,11 @@ ] }, "locked": { - "lastModified": 1744145203, - "narHash": "sha256-I2oILRiJ6G+BOSjY+0dGrTPe080L3pbKpc+gCV3Nmyk=", + "lastModified": 1745369821, + "narHash": "sha256-mi6cAjuBztm9gFfpiVo6mAn81cCID6nmDXh5Kmyjwyc=", "owner": "nix-community", "repo": "disko", - "rev": "76c0a6dba345490508f36c1aa3c7ba5b6b460989", + "rev": "c5140c6079ff690e85eac0b86e254de16a79a4b7", "type": "github" }, "original": { @@ -122,11 +122,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1744337628, - "narHash": "sha256-ghjocOkjH1pSMiyX7h6+gJmLsgcief/+D+Cbcum8HsI=", + "lastModified": 1745483009, + "narHash": "sha256-nMSo37sprHHbK7uYAw5IwVbQ/qqB9piMh8IGH77EqSk=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "8aa1c071bbcb8a270bb841e4797a0d14528709d4", + "rev": "acf94b5dd33ce8e3fb995421cd1a719bb0d9c804", "type": "github" }, "original": { @@ -191,11 +191,11 @@ ] }, "locked": { - "lastModified": 1740872218, - "narHash": "sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo=", + "lastModified": 1741352980, + "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "3876f6b87db82f33775b1ef5ea343986105db764", + "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", "type": "github" }, "original": { @@ -387,11 +387,11 @@ ] }, "locked": { - "lastModified": 1744343724, - "narHash": "sha256-DkiOZlkXbdf6f09pSulJPE0IaaJi1p7sqia/G2kqNKI=", + "lastModified": 1745439012, + "narHash": "sha256-TwbdiH28QK7Da2JQTqFHdb+UCJq6QbF2mtf+RxHVzEA=", "owner": "nix-community", "repo": "home-manager", - "rev": "f1ffd097e717a8d1b441577b8d23f9d2c96e0657", + "rev": "d31710fb2cd536b1966fee2af74e99a0816a61a8", "type": "github" }, "original": { @@ -448,11 +448,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1741442524, - "narHash": "sha256-tVcxLDLLho8dWcO81Xj/3/ANLdVs0bGyCPyKjp70JWk=", + "lastModified": 1745271491, + "narHash": "sha256-4GAHjus6JRpYHVROMIhFIz/sgLDF/klBM3UHulbSK9s=", "owner": "nix-community", "repo": "lanzaboote", - "rev": "d8099586d9a84308ffedac07880e7f07a0180ff4", + "rev": "995637eb3ab78eac33f8ee6b45cc2ecd5ede12ba", "type": "github" }, "original": { @@ -464,11 +464,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1744302352, - "narHash": "sha256-QJQecf/Z1rLZBpVoQaI+EunLX5U7c7uYGER5iw00YrI=", + "lastModified": 1745340344, + "narHash": "sha256-FUhusarVwMBrKmsfLFWj+L67/JT4bO/FILhHqKQLnZs=", "ref": "refs/heads/main", - "rev": "81d476984901d1f00fdcac36a0a8f06cb54048f6", - "revCount": 17777, + "rev": "7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702", + "revCount": 17786, "type": "git", "url": "https://git@git.lix.systems/lix-project/lix" }, @@ -569,11 +569,11 @@ }, "nixosHardware": { "locked": { - "lastModified": 1743420942, - "narHash": "sha256-b/exDDQSLmENZZgbAEI3qi9yHkuXAXCPbormD8CSJXo=", + "lastModified": 1745392233, + "narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "de6fc5551121c59c01e2a3d45b277a6d05077bc4", + "rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64", "type": "github" }, "original": { @@ -647,11 +647,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1744168086, - "narHash": "sha256-S9M4HddBCxbbX1CKSyDYgZ8NCVyHcbKnBfoUXeRu2jQ=", + "lastModified": 1745279238, + "narHash": "sha256-AQ7M9wTa/Pa/kK5pcGTgX/DGqMHyzsyINfN7ktsI7Fo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "60e405b241edb6f0573f3d9f944617fe33ac4a73", + "rev": "9684b53175fc6c09581e94cc85f05ab77464c7e3", "type": "github" }, "original": { @@ -679,11 +679,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1743583204, - "narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=", + "lastModified": 1744463964, + "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", + "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", "type": "github" }, "original": { @@ -711,11 +711,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1744098102, - "narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=", + "lastModified": 1745391562, + "narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7", + "rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7", "type": "github" }, "original": { @@ -742,11 +742,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1744098102, - "narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=", + "lastModified": 1745391562, + "narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7", + "rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7", "type": "github" }, "original": { @@ -821,11 +821,11 @@ ] }, "locked": { - "lastModified": 1740915799, - "narHash": "sha256-JvQvtaphZNmeeV+IpHgNdiNePsIpHD5U/7QN5AeY44A=", + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "42b1ba089d2034d910566bf6b40830af6b8ec732", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", "type": "github" }, "original": { @@ -906,11 +906,11 @@ ] }, "locked": { - "lastModified": 1741228283, - "narHash": "sha256-VzqI+k/eoijLQ5am6rDFDAtFAbw8nltXfLBC6SIEJAE=", + "lastModified": 1741573199, + "narHash": "sha256-A2sln1GdCf+uZ8yrERSCZUCqZ3JUlOv1WE2VFqqfaLQ=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "38e9826bc4296c9daf18bc1e6aa299f3e932a403", + "rev": "c777dc8a1e35407b0e80ec89817fe69970f4e81a", "type": "github" }, "original": { @@ -1009,11 +1009,11 @@ ] }, "locked": { - "lastModified": 1743748085, - "narHash": "sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660+gbUU3cE=", + "lastModified": 1744961264, + "narHash": "sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "815e4121d6a5d504c0f96e5be2dd7f871e4fd99d", + "rev": "8d404a69efe76146368885110f29a2ca3700bee6", "type": "github" }, "original": { From 403029e478ed92bfbfa16a421a38471a79bdb589 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:05:20 +0200 Subject: [PATCH 05/11] Unused comments --- hmModules/chirp/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hmModules/chirp/default.nix b/hmModules/chirp/default.nix index 7353aee..f6ff45e 100644 --- a/hmModules/chirp/default.nix +++ b/hmModules/chirp/default.nix @@ -1,8 +1,4 @@ { pkgs, ... }: -let -in -# nixpkgs = builtins.getFlake "github:NixOS/nixpkgs/932fc16b263f26803d3960e4400bc13dde84a972"; -# chirp = nixpkgs.legacyPackages.${pkgs.system}.chirp; { home.packages = [ pkgs.chirp ]; } From 79fd28061b4f19995b91f10ea4360ee1a4a69a76 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:05:29 +0200 Subject: [PATCH 06/11] Use `sdrangel` from an old commit (it's broken) --- hmModules/sdrangel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hmModules/sdrangel/default.nix b/hmModules/sdrangel/default.nix index b241700..4b65cb5 100644 --- a/hmModules/sdrangel/default.nix +++ b/hmModules/sdrangel/default.nix @@ -1,7 +1,8 @@ { pkgs, ... }: { home.packages = [ - pkgs.sdrangel + (builtins.getFlake "github:NixOS/nixpkgs/063dece00c5a77e4a0ea24e5e5a5bd75232806f8") + .legacyPackages.${pkgs.system}.sdrangel pkgs.kdePackages.qtlocation ]; } From f889c8fdda331bea0e2f239e2f19e3308258541d Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:05:43 +0200 Subject: [PATCH 07/11] Unused (was causing eval error with the new home-manager revision) --- hmModules/waybar/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hmModules/waybar/default.nix b/hmModules/waybar/default.nix index 0e544d9..d311a89 100644 --- a/hmModules/waybar/default.nix +++ b/hmModules/waybar/default.nix @@ -22,8 +22,4 @@ home.packages = with pkgs; [ rofi-power-menu ]; - - # waybar needs the hyprctl binary in PATH when started in hyprland - # TODO still needed? - systemd.user.services.waybar.Service.Environment = "PATH=${lib.makeBinPath [ pkgs.hyprland ]}"; } From 11efc745e3b718ea699456f81e9ed66953c355a0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:06:07 +0200 Subject: [PATCH 08/11] Unused --- hosts/pike/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/hosts/pike/default.nix b/hosts/pike/default.nix index 83ae586..1e278d5 100644 --- a/hosts/pike/default.nix +++ b/hosts/pike/default.nix @@ -61,7 +61,6 @@ "udiskie" "xdg" # "spotify" - "lutris" "wine" "cura" "chrome" @@ -71,7 +70,6 @@ "tor-browser" "kicad" "monero" - # "zulip" "teams" "obs-studio" "calibre" @@ -88,7 +86,6 @@ "chirp" "sdrangel" "discord" - # "ib-tws" "zoom" "pantalaimon" ]; @@ -101,20 +98,12 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" - # "ahci" "usbhid" - # "r8169" "thunderbolt" "vmd" "usb_storage" "sd_mod" ]; - boot.kernelModules = [ - # "kvm-amd" - # "ddcci" - # "ddcci-backlight" - # "i2c-dev" # needed? - ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -152,6 +141,12 @@ ]; }; + fileSystems."/mnt/shared" = { + device = "/dev/nvme0n1p2"; + fsType = "ntfs"; + options = [ "nofail" ]; + }; + services.zfs.autoScrub.enable = true; networking.hostId = "30fc8ed7"; From 10946e39aef25f8640b2c0454456d823a1f1329c Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:06:15 +0200 Subject: [PATCH 09/11] History completion in eshell --- hmModules/emacs/init.el | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/hmModules/emacs/init.el b/hmModules/emacs/init.el index 192f3fd..4d4d304 100644 --- a/hmModules/emacs/init.el +++ b/hmModules/emacs/init.el @@ -690,9 +690,30 @@ (defalias (car alias) (cdr alias))) ccr/eshell-aliases) + (defun ccr/eshell-get-current-input () + (when (eq major-mode 'eshell-mode) + (let ((input-start (save-excursion + (eshell-bol) + (point))) + (input-end (point-at-eol))) + (buffer-substring-no-properties input-start input-end)))) + + (defun ccr/eshell-history () + (interactive) + (when (eq major-mode 'eshell-mode) + (let* ((current-input (ccr/eshell-get-current-input)) + (eshell-history (f-read-text eshell-history-file-name)) + (bash-history (f-read-text "/home/ccr/.bash_history")) + (history (split-string (concat eshell-history "\n" bash-history) "\n")) + (selection (completing-read "History: " history nil t current-input))) + (eshell-bol) + (kill-line) + (insert selection)))) + + :bind (("C-c o e" . project-eshell) (:map eshell-mode-map - ("C-r" . eshell-atuin-history) + ("C-r" . ccr/eshell-history) ("C-" . corfu-send) ))) ;; i.e. just C-r in semi-char-mode From 8cf062885e25a2b0b9e10d8e24dea5807618db48 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Thu, 24 Apr 2025 14:54:55 +0200 Subject: [PATCH 10/11] Fix `ccr/eshell-history` function --- hmModules/emacs/init.el | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/hmModules/emacs/init.el b/hmModules/emacs/init.el index 4d4d304..f941643 100644 --- a/hmModules/emacs/init.el +++ b/hmModules/emacs/init.el @@ -690,26 +690,35 @@ (defalias (car alias) (cdr alias))) ccr/eshell-aliases) - (defun ccr/eshell-get-current-input () - (when (eq major-mode 'eshell-mode) - (let ((input-start (save-excursion - (eshell-bol) - (point))) - (input-end (point-at-eol))) - (buffer-substring-no-properties input-start input-end)))) + (defun ccr/eshell-get-current-input () + "Restituisce l'input corrente dell'utente nella riga Eshell." + (when (eq major-mode 'eshell-mode) + (let ((start (save-excursion (eshell-bol) (point))) + (end (point-at-eol))) + (buffer-substring-no-properties start end)))) + + (defun ccr/eshell-replace-current-input (new-input) + (when (eq major-mode 'eshell-mode) + (let ((inhibit-read-only t)) + (eshell-bol) + (delete-region (point) (point-at-eol)) + (insert new-input) + (end-of-line)))) + (defun ccr/eshell-history () (interactive) (when (eq major-mode 'eshell-mode) (let* ((current-input (ccr/eshell-get-current-input)) - (eshell-history (f-read-text eshell-history-file-name)) - (bash-history (f-read-text "/home/ccr/.bash_history")) - (history (split-string (concat eshell-history "\n" bash-history) "\n")) + (eshell-history (when (and eshell-history-file-name + (file-readable-p eshell-history-file-name)) + (f-read-text eshell-history-file-name))) + (bash-history (when (file-readable-p "~/.bash_history") + (f-read-text "~/.bash_history"))) + (history (split-string (concat (or eshell-history "") "\n" + (or bash-history "")) "\n" t)) (selection (completing-read "History: " history nil t current-input))) - (eshell-bol) - (kill-line) - (insert selection)))) - + (ccr/eshell-replace-current-input selection)))) :bind (("C-c o e" . project-eshell) (:map eshell-mode-map From 3982027e22b33bdad9b272eeea557fc823e03a9f Mon Sep 17 00:00:00 2001 From: Seven of Nine Date: Thu, 24 Apr 2025 16:38:05 +0000 Subject: [PATCH 11/11] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/c5140c6079ff690e85eac0b86e254de16a79a4b7' (2025-04-23) → 'github:nix-community/disko/ca27b88c88948d96feeee9ed814cbd34f53d0d70' (2025-04-24) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/acf94b5dd33ce8e3fb995421cd1a719bb0d9c804' (2025-04-24) → 'github:nix-community/emacs-overlay/2e939b25ef18fd3efbd60829fc7f87c8235cdd40' (2025-04-24) • Updated input 'homeManager': 'github:nix-community/home-manager/d31710fb2cd536b1966fee2af74e99a0816a61a8' (2025-04-23) → 'github:nix-community/home-manager/abfad3d2958c9e6300a883bd443512c55dfeb1be' (2025-04-24) • Updated input 'lix': 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702' (2025-04-22) → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=c36c83c4c6ceb6166cf4a6867354d7244a0c7984' (2025-04-24) • Updated input 'nixosHardware': 'github:NixOS/nixos-hardware/8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64' (2025-04-23) → 'github:NixOS/nixos-hardware/f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1' (2025-04-24) --- flake.lock | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 88990b0..b03d758 100644 --- a/flake.lock +++ b/flake.lock @@ -83,11 +83,11 @@ ] }, "locked": { - "lastModified": 1745369821, - "narHash": "sha256-mi6cAjuBztm9gFfpiVo6mAn81cCID6nmDXh5Kmyjwyc=", + "lastModified": 1745502102, + "narHash": "sha256-LqhRwzvIVPEjH0TaPgwzqpyhW6DtCrvz7FnUJDoUZh8=", "owner": "nix-community", "repo": "disko", - "rev": "c5140c6079ff690e85eac0b86e254de16a79a4b7", + "rev": "ca27b88c88948d96feeee9ed814cbd34f53d0d70", "type": "github" }, "original": { @@ -122,11 +122,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1745483009, - "narHash": "sha256-nMSo37sprHHbK7uYAw5IwVbQ/qqB9piMh8IGH77EqSk=", + "lastModified": 1745511950, + "narHash": "sha256-vO7gtC4nVqfTf1ZEg9gksds/Xesvim4qy+8ewF91ufo=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "acf94b5dd33ce8e3fb995421cd1a719bb0d9c804", + "rev": "2e939b25ef18fd3efbd60829fc7f87c8235cdd40", "type": "github" }, "original": { @@ -387,11 +387,11 @@ ] }, "locked": { - "lastModified": 1745439012, - "narHash": "sha256-TwbdiH28QK7Da2JQTqFHdb+UCJq6QbF2mtf+RxHVzEA=", + "lastModified": 1745494811, + "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", "owner": "nix-community", "repo": "home-manager", - "rev": "d31710fb2cd536b1966fee2af74e99a0816a61a8", + "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", "type": "github" }, "original": { @@ -464,11 +464,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1745340344, - "narHash": "sha256-FUhusarVwMBrKmsfLFWj+L67/JT4bO/FILhHqKQLnZs=", + "lastModified": 1745512428, + "narHash": "sha256-Gy2jKtVPEzxfTezBS3lFS3hI8xZ7wtEAw8HSi2w/3Nw=", "ref": "refs/heads/main", - "rev": "7dbdd5bd0cb44b3e0c1bebc91c1f5a4d46d6b702", - "revCount": 17786, + "rev": "c36c83c4c6ceb6166cf4a6867354d7244a0c7984", + "revCount": 17789, "type": "git", "url": "https://git@git.lix.systems/lix-project/lix" }, @@ -569,11 +569,11 @@ }, "nixosHardware": { "locked": { - "lastModified": 1745392233, - "narHash": "sha256-xmqG4MZArM1JNxPJ33s0MtuBzgnaCO9laARoU3AfP8E=", + "lastModified": 1745503349, + "narHash": "sha256-bUGjvaPVsOfQeTz9/rLTNLDyqbzhl0CQtJJlhFPhIYw=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "8bf8a2a0822365bd8f44fd1a19d7ed0a1d629d64", + "rev": "f7bee55a5e551bd8e7b5b82c9bc559bc50d868d1", "type": "github" }, "original": {