Serenity/modules/features/media/cream-installer.nix
Porta 39ac00a2b5
Refresh flake inputs and expand fractal desktop configuration
- Add CreamInstaller with an NVIDIA WebKit workaround
- Enable Minecraft Plymouth theme and Docker on fractal
- Add development, terminal, gaming, and launcher utilities
- Expand firewall ports and enable automatic generation cleanup
2026-11-10 21:28:59 +10:00

21 lines
604 B
Nix

{ inputs, ... }:
{
flake.nixosModules.cream-installer =
{ config, lib, pkgs, ... }:
let
creamlinux = import inputs.creamlinux-installer { inherit pkgs; };
in
{
environment.systemPackages = [
(creamlinux.overrideAttrs (old: {
# Upstream's WebKit workaround is required on NVIDIA GPUs.
preFixup = (old.preFixup or "") + lib.optionalString
(builtins.elem "nvidia" config.services.xserver.videoDrivers)
''
gappsWrapperArgs+=(--set WEBKIT_DISABLE_DMABUF_RENDERER 1)
'';
}))
];
};
}