refactoring and etc

This commit is contained in:
Matt Nish-Lapidus 2025-05-21 13:23:32 -04:00
parent 65b5562502
commit e26f4e6826
4 changed files with 92 additions and 83 deletions

41
modules/system/nixld.nix Normal file
View file

@ -0,0 +1,41 @@
{ config, lib, pkgs, ... }:
{
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
zlib
zstd
stdenv.cc.cc
curlFull
openssl.out
attr
libssh
libxcrypt.out
bzip2
libxml2
acl
libsodium
util-linux
xz
systemd
fontconfig
freetype
gnutls
util-linux
libGL.dev
psutils
egl-wayland
eglexternalplatform
glfw-wayland
glfw
libGL.dev
libuv.out
libressl.out
libudev-zero.out
mesa.out
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
glib
alsa-lib
];
}

View file

@ -0,0 +1,31 @@
{ config, lib, pkgs, ... }:
{
# add user accounts
users.users.emenel = {
isNormalUser = true;
description = "emenel";
extraGroups = [
"networkmanager"
"network"
"wheel"
"uinput"
"uucp"
"dialout"
"input"
"audio"
"video"
"libvirtd"
"nvidia"
"cups"
"openrazer"
"plugdev"
"i2c-dev"
"scanner"
"lp"
];
packages = with pkgs; [
git
];
};
}