nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit f94fbcc4b2db65c0cf451cf77248ea2a7a0c5190
parent bc033da4d9d0dcf3986b535d3abe23a4094e1501
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Tue, 13 Jan 2026 13:50:14 +0000

Merge packages and packages-unfree

Diffstat:
Dcommon/packages-unfree.nix | 11-----------
Mcommon/packages.nix | 12+++++++++++-
2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/common/packages-unfree.nix b/common/packages-unfree.nix @@ -1,11 +0,0 @@ -{ lib, ... }: - -{ - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "posy-cursors" - "spotify" - "steam" - "steam-unwrapped" - "unrar" - ]; -} diff --git a/common/packages.nix b/common/packages.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ lib, pkgs, ... }: { + environment.systemPackages = with pkgs; [ fastfetch ffmpeg @@ -18,4 +19,13 @@ tmux unzip ]; + + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "posy-cursors" + "spotify" + "steam" + "steam-unwrapped" + "unrar" + ]; + }