new script: sane-wipe-flare
This commit is contained in:
parent
028689cf86
commit
713bbffd7d
|
@ -47,6 +47,7 @@ in
|
||||||
"sane-scripts.vpn"
|
"sane-scripts.vpn"
|
||||||
"sane-scripts.which"
|
"sane-scripts.which"
|
||||||
"sane-scripts.wipe-browser"
|
"sane-scripts.wipe-browser"
|
||||||
|
"sane-scripts.wipe-flare"
|
||||||
"sane-scripts.wipe-fractal"
|
"sane-scripts.wipe-fractal"
|
||||||
];
|
];
|
||||||
"sane-scripts.sys-utils" = declPackageSet [
|
"sane-scripts.sys-utils" = declPackageSet [
|
||||||
|
|
|
@ -211,6 +211,11 @@ let
|
||||||
pname = "sane-wipe-browser";
|
pname = "sane-wipe-browser";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
};
|
};
|
||||||
|
wipe-flare = static-nix-shell.mkBash {
|
||||||
|
pname = "sane-wipe-flare";
|
||||||
|
src = ./src;
|
||||||
|
pkgs = [ "dconf" "libsecret" ];
|
||||||
|
};
|
||||||
wipe-fractal = static-nix-shell.mkBash {
|
wipe-fractal = static-nix-shell.mkBash {
|
||||||
pname = "sane-wipe-fractal";
|
pname = "sane-wipe-fractal";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
|
12
pkgs/additional/sane-scripts/src/sane-wipe-flare
Executable file
12
pkgs/additional/sane-scripts/src/sane-wipe-flare
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p dconf -p libsecret
|
||||||
|
# deletes Flare account, which is easy to break during setup
|
||||||
|
|
||||||
|
secret-tool search --all --unlock 'xdg:schema' 'de.schmidhuberj.Flare'
|
||||||
|
secret-tool clear 'xdg:schema' 'de.schmidhuberj.Flare'
|
||||||
|
|
||||||
|
dconf reset -f /de/schmidhuberj/Flare/
|
||||||
|
|
||||||
|
rm -rf ~/.local/share/flare
|
||||||
|
|
||||||
|
echo "you may repair Flare. after doing so, mv ~/.local/share/flare ~/private/.local/share/flare to persist"
|
Loading…
Reference in New Issue
Block a user