Massive refactor
This commit is contained in:
parent
572ac016c4
commit
56c640398b
48 changed files with 271 additions and 1335 deletions
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
{
|
||||
flake.nixosModules.cream-installer =
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
creamlinux = import inputs.creamlinux-installer { inherit pkgs; };
|
||||
in
|
||||
|
|
@ -10,9 +15,9 @@
|
|||
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)
|
||||
''
|
||||
preFixup =
|
||||
(old.preFixup or "")
|
||||
+ lib.optionalString (builtins.elem "nvidia" config.services.xserver.videoDrivers) ''
|
||||
gappsWrapperArgs+=(--set WEBKIT_DISABLE_DMABUF_RENDERER 1)
|
||||
'';
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue