mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-25 02:03:51 -08:00
Compare commits
No commits in common. "ae7223b2137a31ca152df32933ff8eb457bde317" and "ce8d4815f7f99b2da1dec6a1c40a8acbd11f609e" have entirely different histories.
ae7223b213
...
ce8d4815f7
5 changed files with 103 additions and 108 deletions
|
@ -37,12 +37,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
# "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"
|
||||||
|
@ -128,11 +129,10 @@
|
||||||
",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"
|
||||||
|
|
|
@ -3,6 +3,6 @@ let
|
||||||
createCommon = import ../common-packages.nix;
|
createCommon = import ../common-packages.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = (createCommon pkgs) ++ (with pkgs; [ ]);
|
home.packages = (createCommon pkgs) ++ (with pkgs; [ floorp ]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,17 @@ in
|
||||||
++ [ zen-browser ]
|
++ [ zen-browser ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"text/html" = [ "zen.desktop" ];
|
||||||
|
"x-scheme-handler/http" = [ "zen.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "zen.desktop" ];
|
||||||
|
"x-scheme-handler/about" = [ "zen.desktop" ];
|
||||||
|
"x-scheme-handler/unknown" = [ "zen.desktop" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
|
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
|
||||||
};
|
};
|
||||||
|
|
|
@ -33,17 +33,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications = {
|
|
||||||
"text/html" = [ "zen.desktop" ];
|
|
||||||
"x-scheme-handler/http" = [ "zen.desktop" ];
|
|
||||||
"x-scheme-handler/https" = [ "zen.desktop" ];
|
|
||||||
"x-scheme-handler/about" = [ "zen.desktop" ];
|
|
||||||
"x-scheme-handler/unknown" = [ "zen.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# programs.firefox = {
|
# programs.firefox = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# # package = pkgs.librewolf;
|
# # package = pkgs.librewolf;
|
||||||
|
|
Loading…
Reference in a new issue