Skip to content

Commit

Permalink
nixos/non-nix: init
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 1, 2023
1 parent 299e832 commit 493c979
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
./fonts.nix
./greetd.nix
./locale.nix
./non-nix.nix
./plymouth.nix
./tailscale.nix
./wayland.nix
Expand Down
61 changes: 61 additions & 0 deletions nixos/desktop/non-nix.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{ config, pkgs, lib, ... }:

{
options.nixos.desktop.non-nix.enable = lib.mkEnableOption "non-Nix config" // {
default = config.nixos.desktop.enable;
};

config = lib.mkIf config.nixos.desktop.non-nix.enable {
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
alsa-lib
at-spi2-atk
at-spi2-core
atk
cairo
cups
curl
dbus
expat
fontconfig
freetype
gdk-pixbuf
glib
gtk3
icu
libGL
libappindicator-gtk3
libdrm
libnotify
libpulseaudio
libusb1
libuuid
libxkbcommon
mesa
nspr
nss
openssl
pango
pipewire
stdenv.cc.cc
systemd
xorg.libX11
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libxcb
xorg.libxkbfile
xorg.libxshmfence
zlib
];
};
};
}

0 comments on commit 493c979

Please sign in to comment.