Add some chromium configs
This commit is contained in:
parent
7a52dff9eb
commit
4a0e3a440e
22
flake.nix
22
flake.nix
|
@ -61,6 +61,26 @@
|
||||||
tumbler.enable = true;
|
tumbler.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
chromium = {
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
extensions = [
|
||||||
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
||||||
|
"fnaicdffflnofjppbagibeoednhnbjhg" # Floccus
|
||||||
|
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
|
||||||
|
"dphilobhebphkdjbpfohgikllaljmgbn" # Simplelogin
|
||||||
|
];
|
||||||
|
extraOpts = {
|
||||||
|
"BrowserSignin" = 0;
|
||||||
|
"SyncDisabled" = true;
|
||||||
|
"PasswordManagerEnabled" = false;
|
||||||
|
"SpellcheckEnabled" = true;
|
||||||
|
"SpellcheckLanguage" = ["en-GB"];
|
||||||
|
};
|
||||||
|
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q=%s";
|
||||||
|
defaultSearchProviderEnabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
waybar-experimental-overlay = final: prev: {
|
waybar-experimental-overlay = final: prev: {
|
||||||
waybar = prev.waybar.overrideAttrs (oldAttrs: {
|
waybar = prev.waybar.overrideAttrs (oldAttrs: {
|
||||||
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
||||||
|
@ -101,6 +121,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
home-manager-config
|
home-manager-config
|
||||||
services
|
services
|
||||||
|
chromium
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
./hosts/Vanguard
|
./hosts/Vanguard
|
||||||
./services/sshd
|
./services/sshd
|
||||||
|
@ -157,6 +178,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
home-manager-config
|
home-manager-config
|
||||||
services
|
services
|
||||||
|
chromium
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
./hosts/Ronin
|
./hosts/Ronin
|
||||||
./services/syncthing/Ronin.nix
|
./services/syncthing/Ronin.nix
|
||||||
|
|
|
@ -39,8 +39,11 @@ in {
|
||||||
swayimg
|
swayimg
|
||||||
brightnessctl
|
brightnessctl
|
||||||
];
|
];
|
||||||
programs.firefox.package = pkgs.firefox-wayland;
|
programs = {
|
||||||
programs.rofi.package = pkgs.rofi-wayland;
|
firefox.package = pkgs.firefox-wayland;
|
||||||
|
chromium.commandLineArgs = ["--enable-features=UseOzonePlatform" "--ozone-platform=wayland"];
|
||||||
|
rofi.package = pkgs.rofi-wayland;
|
||||||
|
};
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = null; # Use package from nixpkgs
|
package = null; # Use package from nixpkgs
|
||||||
|
@ -197,13 +200,14 @@ in {
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
windowrule = workspace 2,(neovide)
|
windowrule = workspace 2,(neovide)
|
||||||
windowrule = workspace 3,(firefox)
|
windowrule = workspace 3,(firefox)
|
||||||
windowrule = workspace 4,(libreoffice).*
|
windowrule = workspace 4,^(libreoffice).*
|
||||||
windowrule = workspace 4,(Zotero)
|
windowrule = workspace 4,(Zotero)
|
||||||
windowrule = workspace 5,(Signal)
|
windowrule = workspace 5,(Signal)
|
||||||
windowrule = workspace 5,(fractal)
|
windowrule = workspace 5,(fractal)
|
||||||
windowrule = workspace 5,(discord)
|
windowrule = workspace 5,(discord)
|
||||||
windowrule = workspace 5,(teams-for-linux)
|
windowrule = workspace 5,(teams-for-linux)
|
||||||
windowrule = workspace 6,(Nxplayer.bin)
|
windowrule = workspace 6,(Nxplayer.bin)
|
||||||
|
windowrule = workspace 7,^(steam).*
|
||||||
windowrule = float,(foot)
|
windowrule = float,(foot)
|
||||||
windowrule = center,(foot)
|
windowrule = center,(foot)
|
||||||
windowrule = float,(pavucontrol)
|
windowrule = float,(pavucontrol)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./chromium.nix
|
||||||
./wezterm
|
./wezterm
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue