mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-14 21:08:49 +01:00
30 lines
649 B
Nix
30 lines
649 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
let
|
||
|
chromeArgs = lib.strings.concatStringsSep " " [
|
||
|
"--force-dark-mode"
|
||
|
"--enable-features=WebUIDarkMode"
|
||
|
"--enable-smooth-scrolling"
|
||
|
"--ozone-platform-hint=auto"
|
||
|
"--ignore-gpu-blocklist"
|
||
|
"--enable-gpu-rasterization"
|
||
|
"--enable-zero-copy"
|
||
|
"--force-device-scale-factor=1.0"
|
||
|
];
|
||
|
nixGLWrap = import ./../utils/nixGLWrap.nix { inherit pkgs lib; };
|
||
|
in {
|
||
|
imports = [
|
||
|
./common.nix
|
||
|
./../wrappers/fedora.nix
|
||
|
];
|
||
|
|
||
|
targets.genericLinux.enable = true;
|
||
|
news.display = "silent";
|
||
|
|
||
|
programs.alacritty.package = (nixGLWrap pkgs.alacritty);
|
||
|
|
||
|
home.packages = with pkgs; [
|
||
|
|
||
|
];
|
||
|
}
|