Compare commits

..

No commits in common. "77dc32f91c05414691343f2be0e71a2bc0368b2e" and "2c2af2aea216e511eec38d86ea1683875ce32525" have entirely different histories.

6 changed files with 9 additions and 29 deletions

View file

@ -52,7 +52,6 @@ in
./hetzner_benchmark/nixos/hardware-configuration.nix ./hetzner_benchmark/nixos/hardware-configuration.nix
./hetzner_benchmark/nixos/misc.nix ./hetzner_benchmark/nixos/misc.nix
./hetzner_benchmark/nixos/programs.nix
../nixosModules/common/fish.nix ../nixosModules/common/fish.nix
../nixosModules/common/disable-command-not-found.nix ../nixosModules/common/disable-command-not-found.nix

View file

@ -1,4 +0,0 @@
{
# Helps with kitty when ssh from remote
environment.enableAllTerminfo = true;
}

View file

@ -76,10 +76,8 @@ config =
, "--target", "2025-09-16=snip snip" , "--target", "2025-09-16=snip snip"
, "--target", "2025-10-13=no teef" , "--target", "2025-10-13=no teef"
, "--target", "2025-10-31=dragon book" , "--target", "2025-10-31=dragon book"
, "--target", "2025-11-21=scalpel"
, "--target", "2025-11-21=baguette"
, "--target", "2025-11-29=à deux" , "--target", "2025-11-29=à deux"
, "--target", "2025-12-16=dragon book" , "--target", "2025-12-16=dragon book²"
, "--target", "2025-12-30=seule" , "--target", "2025-12-30=seule"
] ]
"" ""

View file

@ -44,10 +44,6 @@
user = "confusedkernel"; user = "confusedkernel";
hash = "sha256-9DdtDAcv+2Z0jJMSLAXbp5ne8uHYj5V/lNGi0kKSdv4="; hash = "sha256-9DdtDAcv+2Z0jJMSLAXbp5ne8uHYj5V/lNGi0kKSdv4=";
} }
{
user = "gautaz";
hash = "sha256-j0I9l8uKfzKNrc2qveFi5mkRppxL36+BUEqvFPs6vqA=";
}
] ]
++ map fromUrl [ ++ map fromUrl [
{ {

View file

@ -81,14 +81,6 @@ in
hasPassword = true; hasPassword = true;
randomizeMac = true; randomizeMac = true;
} }
{
ssid = "R802";
randomizeMac = true;
}
{
ssid = "R1108";
randomizeMac = true;
}
{ ssid = "_SNCF_WIFI_INOUI"; } { ssid = "_SNCF_WIFI_INOUI"; }
{ ssid = "_WIFI_LYRIA"; } { ssid = "_WIFI_LYRIA"; }
@ -97,7 +89,6 @@ in
{ ssid = "AOT Airport Free Wi-Fi by NT"; } { ssid = "AOT Airport Free Wi-Fi by NT"; }
{ ssid = "NewTaipei"; } { ssid = "NewTaipei"; }
{ ssid = "Fami-WiFi"; } { ssid = "Fami-WiFi"; }
{ ssid = "THSR_freeWIFI_ALL"; }
{ {
ssid = "iPhone de Léana "; ssid = "iPhone de Léana ";

View file

@ -15,8 +15,6 @@ let
hasPassword ? false, hasPassword ? false,
scanOnLowSignal ? false, scanOnLowSignal ? false,
randomizeMac ? false, randomizeMac ? false,
# TODO: adapt to the 25.11 interface
bssid ? null,
... ...
}: }:
{ {
@ -26,18 +24,20 @@ let
"hasPassword" "hasPassword"
"scanOnLowSignal" "scanOnLowSignal"
"randomizeMac" "randomizeMac"
"bssid"
]) ])
(lib.optionalAttrs hasPassword { (lib.optionalAttrs hasPassword {
pskRaw = "ext:${escapePwdKey ssid}"; pskRaw = "ext:${escapePwdKey ssid}";
}) })
{ (lib.optionalAttrs scanOnLowSignal {
extraConfig = '' extraConfig = ''
${lib.optionalString scanOnLowSignal "bgscan=\"simple:30:-70:3600\""} bgscan="simple:30:-70:3600"
${lib.optionalString randomizeMac "mac_addr=1"}
${lib.optionalString (bssid != null) "bssid=\"${bssid}\""}
''; '';
} })
(lib.optionalAttrs randomizeMac {
extraConfig = ''
mac_addr=1
'';
})
]; ];
}; };
in in