Compare commits
No commits in common. "aa5847ec767cd4b051ad7735c725f90de6a9a56b" and "86019601f8724da5a044fc28f34a509b22959a7f" have entirely different histories.
aa5847ec76
...
86019601f8
|
@ -13,7 +13,6 @@
|
||||||
nixos_flake="$(readlink -f /etc/nixos)"
|
nixos_flake="$(readlink -f /etc/nixos)"
|
||||||
if [ -f "$nixos_flake/flake.nix" ]
|
if [ -f "$nixos_flake/flake.nix" ]
|
||||||
then
|
then
|
||||||
# TODO For extensions this only works on systems where the flake has been resolved
|
|
||||||
nix run "$nixos_flake#updateLocalFlakes" -- "$nixos_flake"
|
nix run "$nixos_flake#updateLocalFlakes" -- "$nixos_flake"
|
||||||
nix run "$nixos_flake#nixosRebuild" -- "$verb" "$@"
|
nix run "$nixos_flake#nixosRebuild" -- "$verb" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
"""
|
"""
|
||||||
Add the networks saved in wireless_networks to wpa_supplicant,
|
|
||||||
without restarting it or touching its config file.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
|
@ -70,9 +70,6 @@ in
|
||||||
after = [ "wpa_supplicant.service" ];
|
after = [ "wpa_supplicant.service" ];
|
||||||
wantedBy = [ "wpa_supplicant.service" ];
|
wantedBy = [ "wpa_supplicant.service" ];
|
||||||
path = with pkgs; [ wpa_supplicant ];
|
path = with pkgs; [ wpa_supplicant ];
|
||||||
script = ''
|
script = "${applyScript}";
|
||||||
for i in {1..10}; do wpa_cli status &> /dev/null && break; done
|
|
||||||
${applyScript}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue