nix-configs

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

commit 315175a98da25fb1736969988b2e374e1ce0a5dd
parent f1a6562395a126a57e126676b59a9ace9009fadd
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Sat, 20 Dec 2025 14:57:19 +0000

Fix unfree package warning

Diffstat:
Acommon/packages-unfree.nix | 7+++++++
Mhome/cursor.nix | 9++-------
Mmachines/atlas.nix | 1+
Mmachines/minerva.nix | 1+
4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/common/packages-unfree.nix b/common/packages-unfree.nix @@ -0,0 +1,7 @@ +{ lib, ... }: + +{ + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "posy-cursors" + ]; +} diff --git a/home/cursor.nix b/home/cursor.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: { home.pointerCursor = { @@ -7,9 +7,4 @@ home.pointerCursor = { name = "Posy_Cursor_Black"; size = 24; }; - -nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "posy-cursors" - ]; - } - +} diff --git a/machines/atlas.nix b/machines/atlas.nix @@ -23,6 +23,7 @@ in (import ../common/locale.nix {inherit timezone;}) ../common/mount-drives.nix ../common/nfs.nix + ../common/packages-unfree.nix ../common/packages.nix ../common/steam.nix (import ../common/ssh.nix {inherit username sshkey sshport;}) diff --git a/machines/minerva.nix b/machines/minerva.nix @@ -29,6 +29,7 @@ in (import ../common/syncthing.nix {inherit config pkgs username;}) (import ../common/user.nix {inherit config pkgs username fullname;}) (import ../common/ydotool.nix {inherit pkgs username;}) + ../common/packages-unfree.nix ../scripts/ctimerename.nix ../scripts/duupmove.nix (import ../scripts/vidyascape.nix {inherit pkgs;})