mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
Compare commits
No commits in common. "77dc32f91c05414691343f2be0e71a2bc0368b2e" and "2c2af2aea216e511eec38d86ea1683875ce32525" have entirely different histories.
77dc32f91c
...
2c2af2aea2
6 changed files with 9 additions and 29 deletions
|
|
@ -52,7 +52,6 @@ in
|
|||
|
||||
./hetzner_benchmark/nixos/hardware-configuration.nix
|
||||
./hetzner_benchmark/nixos/misc.nix
|
||||
./hetzner_benchmark/nixos/programs.nix
|
||||
|
||||
../nixosModules/common/fish.nix
|
||||
../nixosModules/common/disable-command-not-found.nix
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
# Helps with kitty when ssh from remote
|
||||
environment.enableAllTerminfo = true;
|
||||
}
|
||||
|
|
@ -76,10 +76,8 @@ config =
|
|||
, "--target", "2025-09-16=snip snip"
|
||||
, "--target", "2025-10-13=no teef"
|
||||
, "--target", "2025-10-31=dragon book"
|
||||
, "--target", "2025-11-21=scalpel"
|
||||
, "--target", "2025-11-21=baguette"
|
||||
, "--target", "2025-11-29=à deux"
|
||||
, "--target", "2025-12-16=dragon book"
|
||||
, "--target", "2025-12-16=dragon book²"
|
||||
, "--target", "2025-12-30=seule"
|
||||
]
|
||||
""
|
||||
|
|
|
|||
|
|
@ -44,10 +44,6 @@
|
|||
user = "confusedkernel";
|
||||
hash = "sha256-9DdtDAcv+2Z0jJMSLAXbp5ne8uHYj5V/lNGi0kKSdv4=";
|
||||
}
|
||||
{
|
||||
user = "gautaz";
|
||||
hash = "sha256-j0I9l8uKfzKNrc2qveFi5mkRppxL36+BUEqvFPs6vqA=";
|
||||
}
|
||||
]
|
||||
++ map fromUrl [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -81,14 +81,6 @@ in
|
|||
hasPassword = true;
|
||||
randomizeMac = true;
|
||||
}
|
||||
{
|
||||
ssid = "R802";
|
||||
randomizeMac = true;
|
||||
}
|
||||
{
|
||||
ssid = "R1108";
|
||||
randomizeMac = true;
|
||||
}
|
||||
|
||||
{ ssid = "_SNCF_WIFI_INOUI"; }
|
||||
{ ssid = "_WIFI_LYRIA"; }
|
||||
|
|
@ -97,7 +89,6 @@ in
|
|||
{ ssid = "AOT Airport Free Wi-Fi by NT"; }
|
||||
{ ssid = "NewTaipei"; }
|
||||
{ ssid = "Fami-WiFi"; }
|
||||
{ ssid = "THSR_freeWIFI_ALL"; }
|
||||
|
||||
{
|
||||
ssid = "iPhone de Léana 江";
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ let
|
|||
hasPassword ? false,
|
||||
scanOnLowSignal ? false,
|
||||
randomizeMac ? false,
|
||||
# TODO: adapt to the 25.11 interface
|
||||
bssid ? null,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -26,18 +24,20 @@ let
|
|||
"hasPassword"
|
||||
"scanOnLowSignal"
|
||||
"randomizeMac"
|
||||
"bssid"
|
||||
])
|
||||
(lib.optionalAttrs hasPassword {
|
||||
pskRaw = "ext:${escapePwdKey ssid}";
|
||||
})
|
||||
{
|
||||
(lib.optionalAttrs scanOnLowSignal {
|
||||
extraConfig = ''
|
||||
${lib.optionalString scanOnLowSignal "bgscan=\"simple:30:-70:3600\""}
|
||||
${lib.optionalString randomizeMac "mac_addr=1"}
|
||||
${lib.optionalString (bssid != null) "bssid=\"${bssid}\""}
|
||||
bgscan="simple:30:-70:3600"
|
||||
'';
|
||||
}
|
||||
})
|
||||
(lib.optionalAttrs randomizeMac {
|
||||
extraConfig = ''
|
||||
mac_addr=1
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue