added pkgs-local for easy access

This commit is contained in:
Matt Nish-Lapidus 2025-06-18 11:20:48 -04:00
parent 7dc1d2713f
commit 921aabab40
8 changed files with 24 additions and 23 deletions

18
flake.lock generated
View file

@ -448,11 +448,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1750127463, "lastModified": 1750256996,
"narHash": "sha256-K2xFtlD3PcKAZriOE3LaBLYmVfGQu+rIF4Jr1RFYR0Q=", "narHash": "sha256-xPH4tgE7yIeBtOn54B6iDzMGXrf7mWvODML+DCN+H8I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "28eef8722d1af18ca13e687dbf485e1c653a0402", "rev": "f754e377dc2da5d34dfea6a5215c21741eaf8930",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1021,11 +1021,11 @@
"website-builder": "website-builder" "website-builder": "website-builder"
}, },
"locked": { "locked": {
"lastModified": 1750157900, "lastModified": 1750256441,
"narHash": "sha256-u7BQLF2u3OESnAQdkT+AMijeYzx06jx0ejKy2e0J+6g=", "narHash": "sha256-StjDYOcjdPXJGdbj+f2UammkrfX8dEc8bO1im/TRVvo=",
"owner": "rasmus-kirk", "owner": "rasmus-kirk",
"repo": "nixarr", "repo": "nixarr",
"rev": "b19ddfaced3849567ce8ac0cbf3ca34ec9adfa91", "rev": "28d1be070deb1a064c1967889c11c8921752fa09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1776,11 +1776,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1750246231, "lastModified": 1750255296,
"narHash": "sha256-BaWLTwrVXbHMliR5Ko2d36XMM4r5vZ6nz/jFB0QjliU=", "narHash": "sha256-ejuEJxTMS6Sd5IUoa8iF4YJkOvAy3Yf7jWEgcjTwwyM=",
"owner": "sxyazi", "owner": "sxyazi",
"repo": "yazi", "repo": "yazi",
"rev": "750ca0c0d40af099a46d340df47af87eec267d4a", "rev": "1a6abae974370702c8865459344bf256de58359e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -136,6 +136,7 @@
configArgs = { configArgs = {
inherit inputs; inherit inputs;
nix-config = self; nix-config = self;
pkgs-local = self.packages.x86_64-linux;
pkgs-stable = import inputs.nixpkgs-stable { pkgs-stable = import inputs.nixpkgs-stable {
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;

View file

@ -1,4 +1,4 @@
{ nix-config, config, pkgs, pkgs-stable, inputs, ... }: { nix-config, config, pkgs, pkgs-local, pkgs-stable, inputs, ... }:
{ {
@ -69,8 +69,8 @@
# adds newer bitwig version package. i'm sure this is a hack, but it works. # adds newer bitwig version package. i'm sure this is a hack, but it works.
(final: prev: { (final: prev: {
bitwig-studio5-3 = nix-config.packages.x86_64-linux.bitwig-studio.bitwig-bubblewrap.override { bitwig-studio5-3 = pkgs-local.bitwig-studio.bitwig-bubblewrap.override {
bitwig-studio = nix-config.packages.x86_64-linux.bitwig-studio.bitwig-studio5-3-unwrapped; bitwig-studio = pkgs-local.bitwig-studio.bitwig-studio5-3-unwrapped;
}; };
}) })
]; ];

View file

@ -1,4 +1,4 @@
{ pkgs, nix-config, inputs, lib, ... }: { pkgs, nix-config, pkgs-local, lib, ... }:
{ {
@ -92,7 +92,7 @@
davinci-resolve-studio davinci-resolve-studio
processing processing
zotero zotero
# nix-config.packages.x86_64-linux.zotero-latest # pkgs-local.zotero-latest
fractal fractal
handbrake handbrake
gmic gmic

View file

@ -1,6 +1,6 @@
{ nix-config, pkgs, ... }: { pkgs-local, pkgs, ... }:
let let
pwdcmd = "${nix-config.packages.x86_64-linux.rbw-latest}/bin/rbw"; pwdcmd = "${pkgs-local.rbw-latest}/bin/rbw";
in in
{ {
accounts.email = { accounts.email = {
@ -54,7 +54,7 @@ in
services.imapnotify = { services.imapnotify = {
enable = true; enable = true;
package = pkgs.goimapnotify; package = pkgs.goimapnotify;
path = [ pkgs.mu pkgs.isync pkgs.goimapnotify nix-config.packages.x86_64-linux.rbw-latest ]; path = [ pkgs.mu pkgs.isync pkgs.goimapnotify pkgs-local.rbw-latest ];
}; };
programs = { programs = {

View file

@ -1,9 +1,9 @@
{ nix-config, pkgs, ... }: { pkgs-local, pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
mpc mpc
nix-config.packages.x86_64-linux.rmpc-latest pkgs-local.rmpc-latest
]; ];
services = { services = {

View file

@ -1,7 +1,7 @@
{ nix-config, lib, pkgs, ... }: { pkgs-local, lib, pkgs, ... }:
{ {
home.packages = lib.mkMerge [ home.packages = lib.mkMerge [
(with nix-config.packages.x86_64-linux; [ (with pkgs-local; [
mioctl mioctl
tal.bassline tal.bassline
tal.j8 tal.j8

View file

@ -1,4 +1,4 @@
{ nix-config, pkgs-stable, inputs, pkgs, ... }: { pkgs-local, pkgs-stable, inputs, pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -192,7 +192,7 @@
jq.enable = true; jq.enable = true;
rbw = { rbw = {
enable = true; enable = true;
package = nix-config.packages.x86_64-linux.rbw-latest; package = pkgs-local.rbw-latest;
}; };
}; };