From b2f4c85a6c1afb74b257a14dcce9236ae021fe4a Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 17 Oct 2026 10:19:47 +0200 Subject: refactor: pass sources via specialArgs --- nixos/profiles/workstation/create.nix | 5 +---- nixos/profiles/workstation/default.nix | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'nixos/profiles/workstation') diff --git a/nixos/profiles/workstation/create.nix b/nixos/profiles/workstation/create.nix index 5580ec4..08320e6 100644 --- a/nixos/profiles/workstation/create.nix +++ b/nixos/profiles/workstation/create.nix @@ -1,8 +1,5 @@ -{ config, pkgs, pkgs-unstable, ... }: +{ config, pkgs, pkgs-unstable, sources, ... }: -let - sources = import ; -in { environment.systemPackages = with pkgs; [ graphviz-nox # for dot diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 9332bca..0961a24 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -1,8 +1,7 @@ -{ config, lib, pkgs, pkgs-unstable, ... }: +{ config, lib, pkgs, pkgs-unstable, sources, ... }: let cfg = config.workstation; - sources = import ; cmd50 = pkgs.callPackage (sources.my-cmd50 { inherit pkgs; }) {}; in { -- cgit v1.3.1