mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
profiles/desktop: update nix-ld libraries list
This commit is contained in:
parent
06c30c967b
commit
55b475b6f0
@ -1,7 +1,7 @@
|
|||||||
# This is where extra desktop goodies can be found.
|
# This is where extra desktop goodies can be found.
|
||||||
# As a note, this is not where you set the aesthetics of your graphical sessions.
|
# As a note, this is not where you set the aesthetics of your graphical sessions.
|
||||||
# That can be found in the `themes` module.
|
# That can be found in the `themes` module.
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, options, ... }:
|
||||||
|
|
||||||
let cfg = config.profiles.desktop;
|
let cfg = config.profiles.desktop;
|
||||||
in {
|
in {
|
||||||
@ -65,7 +65,41 @@ in {
|
|||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
# Run unpatched binaries with these!
|
# Run unpatched binaries with these!
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld = {
|
||||||
|
enable = true;
|
||||||
|
libraries = let
|
||||||
|
xorgLibs = with pkgs.xorg; [
|
||||||
|
libX11
|
||||||
|
libXScrnSaver
|
||||||
|
libXcomposite
|
||||||
|
libXcursor
|
||||||
|
libXdamage
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXi
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
libXtst
|
||||||
|
libxcb
|
||||||
|
libxkbfile
|
||||||
|
libxshmfence
|
||||||
|
];
|
||||||
|
commonLibs = with pkgs; [
|
||||||
|
alsa-lib
|
||||||
|
cairo
|
||||||
|
freetype
|
||||||
|
dbus
|
||||||
|
icu
|
||||||
|
libGL
|
||||||
|
libnotify
|
||||||
|
mesa
|
||||||
|
nss
|
||||||
|
pango
|
||||||
|
pipewire
|
||||||
|
];
|
||||||
|
in
|
||||||
|
commonLibs ++ xorgLibs ++ options.programs.nix-ld.libraries.default;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
steam-run # For the heathens that still uses FHS.
|
steam-run # For the heathens that still uses FHS.
|
||||||
|
Loading…
Reference in New Issue
Block a user