programs: persist data better for spotify, brave, tor
This commit is contained in:
parent
5a2382f61c
commit
8859b4cf8a
|
@ -248,19 +248,10 @@ in
|
||||||
# printer/filament settings
|
# printer/filament settings
|
||||||
slic3r.persist.plaintext = [ ".Slic3r" ];
|
slic3r.persist.plaintext = [ ".Slic3r" ];
|
||||||
|
|
||||||
# creds, widevine .so download. TODO: could easily manage these statically.
|
|
||||||
spotify.persist.plaintext = [ ".config/spotify" ];
|
|
||||||
|
|
||||||
tdesktop.persist.private = [ ".local/share/TelegramDesktop" ];
|
tdesktop.persist.private = [ ".local/share/TelegramDesktop" ];
|
||||||
|
|
||||||
tokodon.persist.private = [ ".cache/KDE/tokodon" ];
|
tokodon.persist.private = [ ".cache/KDE/tokodon" ];
|
||||||
|
|
||||||
# hardenedMalloc solves an "unable to connect to Tor" error when pressing the "connect" button
|
|
||||||
# - still required as of 2023/07/14
|
|
||||||
tor-browser-bundle-bin.package = pkgs.tor-browser-bundle-bin.override {
|
|
||||||
useHardenedMalloc = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
whalebird.persist.private = [ ".config/Whalebird" ];
|
whalebird.persist.private = [ ".config/Whalebird" ];
|
||||||
|
|
||||||
yarn.persist.plaintext = [ ".cache/yarn" ];
|
yarn.persist.plaintext = [ ".cache/yarn" ];
|
||||||
|
|
9
hosts/common/programs/brave.nix
Normal file
9
hosts/common/programs/brave.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
sane.programs.brave = {
|
||||||
|
persist.cryptClearOnBoot = [
|
||||||
|
".cache/BraveSoftware"
|
||||||
|
".config/BraveSoftware"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,7 @@
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./assorted.nix
|
./assorted.nix
|
||||||
./bemenu.nix
|
./bemenu.nix
|
||||||
|
./brave.nix
|
||||||
./calls.nix
|
./calls.nix
|
||||||
./cantata.nix
|
./cantata.nix
|
||||||
./chatty.nix
|
./chatty.nix
|
||||||
|
@ -53,11 +54,13 @@
|
||||||
./ripgrep.nix
|
./ripgrep.nix
|
||||||
./sfeed.nix
|
./sfeed.nix
|
||||||
./splatmoji.nix
|
./splatmoji.nix
|
||||||
|
./spotify.nix
|
||||||
./steam.nix
|
./steam.nix
|
||||||
./stepmania.nix
|
./stepmania.nix
|
||||||
./sublime-music.nix
|
./sublime-music.nix
|
||||||
./swaynotificationcenter.nix
|
./swaynotificationcenter.nix
|
||||||
./tangram.nix
|
./tangram.nix
|
||||||
|
./tor-browser-bundle-bin.nix
|
||||||
./tuba.nix
|
./tuba.nix
|
||||||
./vlc.nix
|
./vlc.nix
|
||||||
./wireshark.nix
|
./wireshark.nix
|
||||||
|
|
14
hosts/common/programs/spotify.nix
Normal file
14
hosts/common/programs/spotify.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
sane.programs.spotify = {
|
||||||
|
persist.plaintext = [
|
||||||
|
# probably just songs and such (haven't checked)
|
||||||
|
".cache/spotify"
|
||||||
|
];
|
||||||
|
persist.private = [
|
||||||
|
# creds, widevine .so download. TODO: could easily manage these statically.
|
||||||
|
".config/spotify"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
13
hosts/common/programs/tor-browser-bundle-bin.nix
Normal file
13
hosts/common/programs/tor-browser-bundle-bin.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sane.programs.tor-browser-bundle-bin = {
|
||||||
|
package = pkgs.tor-browser-bundle-bin.override {
|
||||||
|
# hardenedMalloc solves an "unable to connect to Tor" error when pressing the "connect" button
|
||||||
|
# - still required as of 2023/07/14
|
||||||
|
useHardenedMalloc = false;
|
||||||
|
};
|
||||||
|
persist.cryptClearOnBoot = [
|
||||||
|
".local/share/tor-browser"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user