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;
};
};
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 = {
enable = true;
profiles.default = {
@ -64,18 +27,14 @@ in
"browser.toolbars.bookmarks.visibility" = "never";
"signon.rememberSignons" = false;
};
# containers = {
# "school" = {
# id = 0;
# color = "red";
# icon = "fruit";
# };
# "work" = {
# id = 1;
# color = "orange";
# icon = "briefcase";
# };
# };
containersForce = true;
containers = {
"school" = {
id = 0;
color = "red";
icon = "fruit";
};
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
bitwarden

View File

@ -4,7 +4,7 @@ source scripts/shared.fish
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
if [ $i != "" ]
@ -38,7 +38,7 @@ else
end
set rebuild "$(string lower $rebuild)"
if [ "$rebuild" = "y" ]
sudo nixos-rebuild switch # &> /dev/null
sudo nixos-rebuild switch
end
end
read -P "[INPUT] Git update Y/n: " gitpush
@ -58,4 +58,4 @@ else
end
cp "temp/directorylisthashed.txt" "temp/directorylisthashedprevious.txt"
rm "temp/directorylisthashed.txt"
rm "temp/directorylisthashed.txt"