Edit apps, add new dev environment.

This commit is contained in:
Mercury. 2025-04-15 21:01:41 +02:00
parent 90b2ab618c
commit 8be035e52f
2 changed files with 34 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: {config, pkgs, lib, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -23,11 +23,19 @@
bottles bottles
anydesk anydesk
piper piper
]; openrgb-with-all-plugins
gnome-tweaks
yarg
jq
kdenlive
kitty
discordo
];
programs.steam.enable = true; programs.steam.enable = true;
services.ratbagd.enable = true;
environment.shellAliases = { environment.shellAliases = {
edit-apps = "nvim /etc/nixos/apps.nix"; edit-apps = "nvim /etc/nixos/apps.nix";
spt = "exec /home/arael/.cargo/bin/spotify_player";
}; };
} }

23
dev.nix Normal file
View file

@ -0,0 +1,23 @@
# dev.nix
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
rustc
cargo
pkg-config
libxkbcommon
xorg.libxcb
xclip
cmake
gcc
openssl
pkg-config
];
# Set the PKG_CONFIG_PATH and OPENSSL_DIR for the environment
environment.variables = {
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
OPENSSL_DIR = "${pkgs.openssl.dev}";
};
}