feat: modular i3's configurations

This commit is contained in:
Ryan Yin
2023-12-24 22:49:13 +08:00
parent 3aaaeb49ca
commit 30881f356a
27 changed files with 20 additions and 20 deletions
+20
View File
@@ -0,0 +1,20 @@
{pkgs, ...}: {
home.packages = with pkgs; [
firefox
];
# TODO vscode & chrome both have wayland support, but they don't work with fcitx5, need to fix it.
programs = {
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
google-chrome = {
enable = true;
# chrome wayland support was broken on nixos-unstable branch, so fallback to stable branch for now
# https://github.com/swaywm/sway/issues/7562
package = pkgs.google-chrome;
# commandLineArgs = [
# ];
};
};
}