aboutsummaryrefslogtreecommitdiff
path: root/nixos/profiles/workstation
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-17 10:19:47 +0200
committerMartin Fischer <martin@push-f.com>2026-10-17 11:55:48 +0200
commitb2f4c85a6c1afb74b257a14dcce9236ae021fe4a (patch)
tree1cfa3537c28fb96fc99370f560622de60f470f86 /nixos/profiles/workstation
parent96f1b03a5faf7dcfa81818986d9365aa786d7d4d (diff)
refactor: pass sources via specialArgs
Diffstat (limited to 'nixos/profiles/workstation')
-rw-r--r--nixos/profiles/workstation/create.nix5
-rw-r--r--nixos/profiles/workstation/default.nix3
2 files changed, 2 insertions, 6 deletions
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 <top/npins>;
-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 <top/npins>;
cmd50 = pkgs.callPackage (sources.my-cmd50 { inherit pkgs; }) {};
in
{