diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/modules/window_managers/default.nix | 1 | ||||
| -rw-r--r-- | common/modules/window_managers/niri/default.nix | 19 | ||||
| -rw-r--r-- | common/programs/brave.nix | 2 | ||||
| -rw-r--r-- | common/programs/librewolf.nix | 34 |
4 files changed, 25 insertions, 31 deletions
diff --git a/common/modules/window_managers/default.nix b/common/modules/window_managers/default.nix index 547e2c8..9b8f660 100644 --- a/common/modules/window_managers/default.nix +++ b/common/modules/window_managers/default.nix @@ -28,6 +28,7 @@ in mango.enable = lib.mkEnableOption "Enable mangowm"; niri.enable = lib.mkEnableOption "Enable niri"; noctalia = lib.mkEnableOption "Enable noctalia shell"; + xwayland = lib.mkEnableOption "Enable Xwayland support"; beeConfig = { enable = lib.mkEnableOption "Enable stuff from my config"; waybar = lib.mkOption { diff --git a/common/modules/window_managers/niri/default.nix b/common/modules/window_managers/niri/default.nix index d3c1ced..faefe1a 100644 --- a/common/modules/window_managers/niri/default.nix +++ b/common/modules/window_managers/niri/default.nix @@ -19,9 +19,12 @@ in config = lib.mkIf cfg.niri.enable ( if homeManager then { - home.packages = with pkgs; [ - xwayland-satellite - ]; + home.packages = + with pkgs; + lib.optionals cfg.xwayland [ + xwayland-satellite + ]; + xdg.configFile."niri/config.kdl".text = '' include optional=true "./noctalia.kdl" workspace "1" @@ -47,21 +50,11 @@ in // scroll-method "two-finger" // disabled-on-external-mouse } - mouse { - scroll-method "on-button-down" - scroll-button 274 // "middle" is also accepted - - scroll-button-lock - } warp-mouse-to-focus focus-follows-mouse max-scroll-amount="0%" } - clipboard { - disable-primary - } - output "eDP-1" { mode "1920x1080@120.030" scale 1 diff --git a/common/programs/brave.nix b/common/programs/brave.nix index d7240e7..cba3bca 100644 --- a/common/programs/brave.nix +++ b/common/programs/brave.nix @@ -1,7 +1,7 @@ { inputs, pkgs, ... }: { programs.brave = { - enable = true; + enable = false; package = inputs.brave-origin.packages.${pkgs.stdenv.hostPlatform.system}.default; extensions = [ diff --git a/common/programs/librewolf.nix b/common/programs/librewolf.nix index 9238632..f5a6440 100644 --- a/common/programs/librewolf.nix +++ b/common/programs/librewolf.nix @@ -7,7 +7,7 @@ }: { programs.librewolf = { - enable = false; + enable = true; policies = { ExtensionSettings = { # "uBlock0@raymondhill.net" = { @@ -63,22 +63,22 @@ "browser.toolbars.bookmarks.visibility" = "never"; "widget.use-xdg-desktop-portal.file-picker" = 1; }; - userChrome = '' - @import "firefox-gnome-theme/userChrome.css"; - * { - font-family: "monospace" !important; - border-radius: 0px !important; - } - - ''; - userContent = '' - @import "firefox-gnome-theme/userContent.css"; - * { - font-family: "monospace" !important; - border-radius: 0px !important; - } - ''; - + # userChrome = '' + # @import "firefox-gnome-theme/userChrome.css"; + # * { + # font-family: "monospace" !important; + # border-radius: 0px !important; + # } + # + # ''; + # userContent = '' + # @import "firefox-gnome-theme/userContent.css"; + # * { + # font-family: "monospace" !important; + # border-radius: 0px !important; + # } + # ''; + # search = { force = true; engines = { |
