diff --git a/os/wireless/import.py b/os/wireless/import.py index 85ac1d5..d4535be 100755 --- a/os/wireless/import.py +++ b/os/wireless/import.py @@ -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. @@ -19,7 +21,7 @@ import yaml # 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" SEPARATE_PASSWORDS = False # TODO Find a way to make then env file available at whatever time it is needed