Fix Wi-Fi config generation
Actually the first thing I did, but last commit because... why do I bother again?
This commit is contained in:
parent
a6f706d088
commit
417ef5a746
|
@ -1,4 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i python3
|
||||||
|
#! nix-shell -p python3 python3Packages.pyaml
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Exports Wi-Fi networks configuration stored in pass into a format readable by Nix.
|
Exports Wi-Fi networks configuration stored in pass into a format readable by Nix.
|
||||||
|
@ -19,7 +21,7 @@ import yaml
|
||||||
|
|
||||||
# passpy doesn't handle encoding properly, so doing this with calls
|
# passpy doesn't handle encoding properly, so doing this with calls
|
||||||
|
|
||||||
PASSWORD_STORE = os.path.expanduser("~/.password-store")
|
PASSWORD_STORE = os.path.expanduser("~/.local/share/pass")
|
||||||
SUBFOLDER = "wifi"
|
SUBFOLDER = "wifi"
|
||||||
SEPARATE_PASSWORDS = False
|
SEPARATE_PASSWORDS = False
|
||||||
# TODO Find a way to make then env file available at whatever time it is needed
|
# TODO Find a way to make then env file available at whatever time it is needed
|
||||||
|
|
Loading…
Reference in a new issue