feat: update TODO, fix some problems

This commit is contained in:
ryan4yin
2023-05-07 00:28:30 +08:00
parent b8b4d843d6
commit e9e63e6d4a
17 changed files with 114 additions and 64 deletions

View File

@@ -1,23 +1,24 @@
{
pkgs,
nixpkgs-stable,
config,
...
}: {
home.packages = with pkgs; [
# use wayland version of firefox
firefox-wayland
];
home.packages =
let
pkgs-stable = import nixpkgs-stable {
system = pkgs.system;
config.allowUnfree = true;
};
in
with pkgs-stable; [
firefox-wayland
programs =
let commandLineArgs = [ "--enable-wayland-ime" "--ozone-platform=wayland" ];
in {
chromium = {
enable = true;
inherit commandLineArgs;
};
google-chrome = {
enable = true;
inherit commandLineArgs;
};
};
# chrome wayland support was broken on nixos-unstable branch, so fallback to stable branch for now
# https://github.com/swaywm/sway/issues/7562
google-chrome
];
# programs = {
# };
}