Wed Jun 5 12:55:36 AM CEST 2024
This commit is contained in:
parent
67c2d077e4
commit
ffe3246a8d
|
@ -21,6 +21,7 @@
|
|||
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
|
||||
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
|
||||
"eDP-1,${./hyprland/files/wallpaper.png}"
|
||||
"eDP-2,${./hyprland/files/wallpaper.png}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -33,10 +34,11 @@
|
|||
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card"]; # Nvidia
|
||||
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"]; # Intel
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
#monitor = [
|
||||
# "eDP-1,1920x1080@144,0x0,1"
|
||||
# "HDMI-A-2,1920x1080@60,0x-1080,1"
|
||||
#];
|
||||
monitor = [
|
||||
"eDP-1,1920x1080@144,0x0,1"
|
||||
"eDP-2,1920x1080@144,0x0,1"
|
||||
"HDMI-A-2,1920x1080@60,0x-1080,1"
|
||||
];
|
||||
bind = [
|
||||
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
|
||||
./hyprland/files/rofi-power-menu.sh
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
lock-false = {
|
||||
Value = false;
|
||||
Status = "locked";
|
||||
};
|
||||
lock-true = {
|
||||
Value = true;
|
||||
Status = "locked";
|
||||
};
|
||||
in {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
policies = {
|
||||
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
extraPolicies = {
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab"
|
||||
|
@ -22,53 +19,27 @@ in {
|
|||
Fingerprinting = true;
|
||||
};
|
||||
ExtensionSettings = {
|
||||
"{c7c120ff-2878-4e59-a5a3-cd4d1655bc13}" = {
|
||||
install_url = "file://${./files/signed.xpi}";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
"@contain-google" = {
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/google-container/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
"{ea4204c0-3209-4116-afd2-2a208e21a779}" = {
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/enable-bing-chat/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
"{3e4d2037-d300-4e95-859d-3cba866f46d3}" = {
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/private-internet-access-ext/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
"{c7c120ff-2878-4e59-a5a3-cd4d1655bc13}" = {
|
||||
install_url = "file://${./files/signed.xpi}";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
profiles = {
|
||||
default = {
|
||||
id = 0;
|
||||
name = "default";
|
||||
isDefault = true;
|
||||
search = {
|
||||
force = true;
|
||||
default = "DuckDuckGo";
|
||||
order = [ "DuckDuckGo" "Google" ];
|
||||
};
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
bitwarden
|
||||
privacy-badger
|
||||
beyond-20
|
||||
display-_anchors
|
||||
facebook-container
|
||||
multi-account-containers
|
||||
istilldontcareaboutcookies
|
||||
return-youtube-dislikes
|
||||
sponsorblock
|
||||
unpaywall
|
||||
vimium
|
||||
];
|
||||
settings = {
|
||||
Preferences = {
|
||||
"browser.disableResetPrompt" = true;
|
||||
"browser.download.panel.shown" = true;
|
||||
"browser.shell.checkDefaultBrowser" = false;
|
||||
|
@ -95,6 +66,32 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
profiles = {
|
||||
default = {
|
||||
id = 0;
|
||||
name = "default";
|
||||
isDefault = true;
|
||||
search = {
|
||||
force = true;
|
||||
default = "DuckDuckGo";
|
||||
order = [ "DuckDuckGo" "Google" ];
|
||||
};
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
bitwarden
|
||||
privacy-badger
|
||||
beyond-20
|
||||
display-_anchors
|
||||
facebook-container
|
||||
multi-account-containers
|
||||
istilldontcareaboutcookies
|
||||
return-youtube-dislikes
|
||||
sponsorblock
|
||||
unpaywall
|
||||
vimium
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
let
|
||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
||||
firefox = "${pkgs.firefox}/bin/firefox";
|
||||
# firefox = "${pkgs.firefox}/bin/firefox";
|
||||
nautilus = "${pkgs.gnome.nautilus}/bin/nautilus";
|
||||
gnome-calendar = "${pkgs.gnome.gnome-calendar}/bin/gnome-calendar";
|
||||
waybar = "${inputs.waybar.packages.${pkgs.system}.waybar}/bin/waybar";
|
||||
|
@ -186,7 +186,7 @@ in {
|
|||
"$mainMod, Q, killactive,"
|
||||
"$mainMod, A, exec, ${nautilus}"
|
||||
"$mainMod, S, exec, ${gnome-calendar}"
|
||||
"$mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 ${firefox}"
|
||||
"$mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 firefox"
|
||||
"$mainMod, M, fullscreen, 1"
|
||||
"$mainMod, F11, fullscreen"
|
||||
"$mainMod, F, togglefloating,"
|
||||
|
|
Loading…
Reference in New Issue