Quick reload command, cursor fix and firefox settings
This commit is contained in:
52
home.nix
52
home.nix
@@ -49,6 +49,11 @@
|
|||||||
fi
|
fi
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
(writeShellScriptBin "reload" ''
|
||||||
|
nix-channel --update
|
||||||
|
home-manager switch
|
||||||
|
'')
|
||||||
|
|
||||||
(writeShellScriptBin "update" ''
|
(writeShellScriptBin "update" ''
|
||||||
if [ "$(uname -s)" = "Darwin" ]; then
|
if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
echo "Updating macOS..."
|
echo "Updating macOS..."
|
||||||
@@ -91,16 +96,13 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
# Allow unfree nix packages
|
||||||
".config/nixpkgs/config.nix".text = ''
|
".config/nixpkgs/config.nix".text = ''
|
||||||
{ allowUnfree = true; }
|
{ allowUnfree = true; }
|
||||||
'';
|
''; # Set file content as a string of text
|
||||||
|
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
# Cursor theme fix
|
||||||
|
".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic"; # Set file content as another file
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
@@ -121,10 +123,20 @@
|
|||||||
name = "Trude";
|
name = "Trude";
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
settings = {
|
settings = {
|
||||||
"browser.startup.homepage" = "https://google.com";
|
"browser.startup.homepage" = "about:newtab";
|
||||||
"browser.search.defaultenginename" = "Google";
|
"browser.search.defaultenginename" = "Google";
|
||||||
"browser.search.order.1" = "Google";
|
"browser.search.order.1" = "Google";
|
||||||
"general.smoothScroll" = true;
|
"general.smoothScroll" = true;
|
||||||
|
"browser.disableResetPrompt" = true;
|
||||||
|
"browser.download.panel.shown" = true;
|
||||||
|
"browser.download.useDownloadDir" = false;
|
||||||
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||||
|
"browser.shell.checkDefaultBrowser" = false;
|
||||||
|
"browser.shell.defaultBrowserCheckCount" = 1;
|
||||||
|
"dom.security.https_only_mode" = true;
|
||||||
|
"identity.fxaccounts.enabled" = false;
|
||||||
|
"privacy.trackingprotection.enabled" = true;
|
||||||
|
"signon.rememberSignons" = false;
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
@@ -152,7 +164,29 @@
|
|||||||
"Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
"Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
bookmarks = { };
|
bookmarks = [
|
||||||
|
{
|
||||||
|
name = "Toolbar";
|
||||||
|
toolbar = true;
|
||||||
|
bookmarks = [
|
||||||
|
{
|
||||||
|
name = "Gmail";
|
||||||
|
tags = [ "gmail" ];
|
||||||
|
keyword = "gmail";
|
||||||
|
url = "https://mail.google.com/mail";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "YouTube";
|
||||||
|
url = "https://www.youtube.com/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "NixOS Wiki";
|
||||||
|
tags = [ "wiki" "nix" ];
|
||||||
|
url = "https://nixos.wiki/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user