mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
roles/graphical: Firefox things
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
b6bb7eaff4
commit
f87064aa28
|
@ -8,7 +8,6 @@ in {
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
(lib.mkIf (cfg.enable) {
|
(lib.mkIf (cfg.enable) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
firefox
|
|
||||||
alacritty
|
alacritty
|
||||||
pavucontrol
|
pavucontrol
|
||||||
bottom
|
bottom
|
||||||
|
@ -60,9 +59,17 @@ in {
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1"; # Enable wayland for electron
|
||||||
|
|
||||||
|
XDG_CURRENT_DESKTOP = "sway";
|
||||||
};
|
};
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL =
|
|
||||||
"1"; # Enable wayland for electron
|
|
||||||
home-manager.users.ivabus = {
|
home-manager.users.ivabus = {
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -97,7 +104,7 @@ in {
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(lib.mkIf (cfg.basic.enable) {
|
(lib.mkIf (cfg.basic.enable) {
|
||||||
environment.systemPackages = with pkgs; [ firefox ubuntu-themes ];
|
environment.systemPackages = with pkgs; [ ubuntu-themes ];
|
||||||
services.xserver.desktopManager.mate.enable = true;
|
services.xserver.desktopManager.mate.enable = true;
|
||||||
networking.networkmanager.enable = lib.mkForce true;
|
networking.networkmanager.enable = lib.mkForce true;
|
||||||
networking.networkmanager.wifi.backend = "iwd";
|
networking.networkmanager.wifi.backend = "iwd";
|
||||||
|
@ -125,6 +132,12 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
environment.systemPackages = [
|
||||||
|
# With this
|
||||||
|
(pkgs.wrapFirefox
|
||||||
|
(pkgs.firefox-unwrapped.override { pipewireSupport = true; }) { })
|
||||||
|
];
|
||||||
|
environment.sessionVariables = { MOZ_USE_XINPUT2 = "1"; };
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
Loading…
Reference in a new issue