update export script

This commit is contained in:
ark-lamp-umbrella 2024-04-12 18:08:24 -07:00
parent 8e95e9d794
commit 0f59bcb08d
Signed by: ark-lamp-umbrella
GPG Key ID: 15E48F7B97025652
2 changed files with 11 additions and 52 deletions

View File

@ -13,43 +13,6 @@ in
inherit pkgs; inherit pkgs;
}; };
}; };
home-manager.users.ark.home.file.".mozilla/managed-storage/uBlock0@raymondhill.net.json".text =
builtins.toJSON {
name = "uBlock0@raymondhill.net";
description = "_";
type = "storage";
data = {
adminSettings = {
userFilters = ''
'';
};
userSettings = [
[ "advancedUserEnabled" "true" ]
[ "autoUpdate" "true" ]
[ "colorBlindFriendly" "false" ]
[ "contextMenuEnabled" "true" ]
[ "dynamicFilteringEnabled" "false" ]
];
toOverwrite = {
filterLists = [
"user-filters"
"ublock-filters"
"ublock-badware"
"ublock-privacy"
"ublock-quick-fixes"
"ublock-abuse"
"easylist"
"easyprivacy"
"urlhaus-1"
"plowe-0"
"adguard-cookiemonster"
"ublock-cookies-adguard"
"ublock-cookies-easylist"
];
};
};
};
home-manager.users.ark.programs.firefox = { home-manager.users.ark.programs.firefox = {
enable = true; enable = true;
profiles.default = { profiles.default = {
@ -64,18 +27,14 @@ in
"browser.toolbars.bookmarks.visibility" = "never"; "browser.toolbars.bookmarks.visibility" = "never";
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
}; };
# containers = { containersForce = true;
# "school" = { containers = {
# id = 0; "school" = {
# color = "red"; id = 0;
# icon = "fruit"; color = "red";
# }; icon = "fruit";
# "work" = { };
# id = 1; };
# color = "orange";
# icon = "briefcase";
# };
# };
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin
bitwarden bitwarden

View File

@ -4,7 +4,7 @@ source scripts/shared.fish
mkdir -p "temp" mkdir -p "temp"
set dircontent $(find "nixos" -type f | sort -z) set dircontent $(find "." -type f | grep -v ".git" | grep -v ".temp" | sort -z)
for i in $dircontent for i in $dircontent
if [ $i != "" ] if [ $i != "" ]
@ -38,7 +38,7 @@ else
end end
set rebuild "$(string lower $rebuild)" set rebuild "$(string lower $rebuild)"
if [ "$rebuild" = "y" ] if [ "$rebuild" = "y" ]
sudo nixos-rebuild switch # &> /dev/null sudo nixos-rebuild switch
end end
end end
read -P "[INPUT] Git update Y/n: " gitpush read -P "[INPUT] Git update Y/n: " gitpush
@ -58,4 +58,4 @@ else
end end
cp "temp/directorylisthashed.txt" "temp/directorylisthashedprevious.txt" cp "temp/directorylisthashed.txt" "temp/directorylisthashedprevious.txt"
rm "temp/directorylisthashed.txt" rm "temp/directorylisthashed.txt"