From 59a40f35a0ff085bca2d798b7169e66029ba2f8d Mon Sep 17 00:00:00 2001 From: Atridad Date: Mon, 21 Jul 2025 15:54:11 -0600 Subject: [PATCH] 1753134851 --- modules/packages.nix | 103 ++++++++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 46 deletions(-) diff --git a/modules/packages.nix b/modules/packages.nix index 18475d4..ab62a96 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -1,54 +1,65 @@ { config, pkgs, ... }: +let + unstablePkgs = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") { + config = { + allowUnfree = true; + }; + }; + +in { - # Allow unfree packages + # Allow unfree packages for the default (stable) nixpkgs. nixpkgs.config.allowUnfree = true; # System packages - environment.systemPackages = with pkgs; [ - # Browsers and communication - ungoogled-chromium - librewolf - discord - signal-desktop-bin - impression - - # Development tools - vscodium - git - go - cargo - rustc - rust-analyzer - rustfmt - nodejs_24 - python3Full - openssh - nodePackages."pnpm" - openssl - ffmpeg - - # Desktop applications - alacritty - bitwarden-desktop - vlc - onlyoffice-desktopeditors - gnome-notes - streamrip - supersonic - nextcloud-client - zotero - prismlauncher - lrcget + environment.systemPackages = + # Packages from the stable channel (pkgs) + with pkgs; [ + # Browsers and communication + ungoogled-chromium + librewolf + discord + signal-desktop-bin + impression + + # Development tools (moving vscodium to unstable) + git + go + cargo + rustc + rust-analyzer + rustfmt + nodejs_24 + python3Full + openssh + nodePackages."pnpm" + openssl + ffmpeg + vscodium + + # Desktop applications + bitwarden-desktop + vlc + streamrip + supersonic + nextcloud-client + zotero + prismlauncher + lrcget - # Gaming - luanti - duckstation - dolphin-emu - ryubing - gpu-screen-recorder + # Gaming + luanti + duckstation + dolphin-emu + ryubing + gpu-screen-recorder - # GNOME extensions - gnomeExtensions.appindicator - ]; -} + # GNOME extensions + gnomeExtensions.appindicator + ] + # Packages from the unstable channel (unstablePkgs) + ++ (with unstablePkgs; [ + onlyoffice-desktopeditors + ]); +} \ No newline at end of file