feat: use zen browser for all architectures

This commit is contained in:
Youwen Wu 2024-11-08 20:55:39 -08:00
parent ce8d4815f7
commit e325a7be3e
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 97 additions and 92 deletions

View file

@ -37,7 +37,12 @@
]; ];
}; };
swapDevices = [ ]; swapDevices = [
{
device = "/var/lib/swapfile";
size = 32 * 1024;
}
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -29,8 +29,7 @@
# "XCURSOR_THEME,Bibata-Modern-Ice" # "XCURSOR_THEME,Bibata-Modern-Ice"
# "XCURSOR_SIZE,26" # "XCURSOR_SIZE,26"
# ]; # ];
bind = bind = [
[
# Application Keybinds # Application Keybinds
"$mod, T, exec, ${pkgs.kitty}/bin/kitty" "$mod, T, exec, ${pkgs.kitty}/bin/kitty"
"$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar" "$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
@ -129,10 +128,11 @@
",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox play-pause" ",XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox play-pause"
",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox next" ",XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox next"
",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox previous" ",XF86AudioRewind, exec, ${pkgs.playerctl}/bin/playerctl --player=%any,firefox previous"
] "$mod, F, exec, zen"
++ ( ];
if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ] # ++ (
); # if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ]
# );
bindm = [ bindm = [
"$mod, mouse:272, movewindow" "$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow" "$mod, mouse:273, resizewindow"

View file

@ -3,6 +3,6 @@ let
createCommon = import ../common-packages.nix; createCommon = import ../common-packages.nix;
in in
{ {
home.packages = (createCommon pkgs) ++ (with pkgs; [ floorp ]); home.packages = (createCommon pkgs) ++ (with pkgs; [ ]);
} }