code and firefox

This commit is contained in:
foglar 2024-11-01 22:24:24 +01:00
parent 185cf7c330
commit 7a91a50ffe
3 changed files with 27 additions and 2 deletions

View File

@ -1,6 +1,5 @@
{ {
config, config,
pkgs,
lib, lib,
inputs, inputs,
... ...
@ -12,9 +11,16 @@
config = lib.mkIf config.firefox.enable { config = lib.mkIf config.firefox.enable {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles.default = { profiles.default = {
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [ extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
#enhancer-for-youtube
ublock-origin ublock-origin
simple-translate
duckduckgo-privacy-essentials
return-youtube-dislikes
user-agent-string-switcher
]; ];
}; };
}; };

View File

@ -18,7 +18,6 @@
#programs.neovim.enable = true; #programs.neovim.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
firefox
librewolf librewolf
discord discord
@ -64,6 +63,8 @@
"steam" "steam"
"steam-unwrapped" "steam-unwrapped"
"enhancer-for-youtube"
"gitkraken" "gitkraken"
# VSCODE # VSCODE
"vscode" "vscode"

View File

@ -17,6 +17,7 @@
enable = true; enable = true;
userSettings = { userSettings = {
"files.autoSave"= "afterDelay";
"editor.fontSize" = 16; "editor.fontSize" = 16;
"editor.minimap.side"= "right"; "editor.minimap.side"= "right";
"editor.scrollbar.vertical"= "hidden"; "editor.scrollbar.vertical"= "hidden";
@ -34,6 +35,23 @@
"workbench.productIconTheme"= "material-product-icons"; "workbench.productIconTheme"= "material-product-icons";
"window.menuBarVisibility"= "toggle"; "window.menuBarVisibility"= "toggle";
"github.copilot.editor.enableAutoCompletions"= false; "github.copilot.editor.enableAutoCompletions"= false;
"nix.serverPath"= "nixd";
"nix.enableLanguageServer"= true;
"nix.serverSettings" = {
"nixd" = {
"formatting"= {
"command"= [ "alejandra" ]; # or nixfmt or nixpkgs-fmt
};
# "options": {
# "nixos": {
# "expr": "(builtins.getFlake \"~/mysystem/").nixosConfigurations.laptop.options"
# },
# "home_manager": {
# "expr": "(builtins.getFlake \"/PATH/TO/FLAKE\").homeConfigurations..options"
# },
# },
};
};
}; };
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [