mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 17:28:33 +02:00
feat: update TODO, fix some problems
This commit is contained in:
@@ -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 = {
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user