diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-17 10:19:47 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-17 11:55:48 +0200 |
| commit | b2f4c85a6c1afb74b257a14dcce9236ae021fe4a (patch) | |
| tree | 1cfa3537c28fb96fc99370f560622de60f470f86 /nixos/profiles/common | |
| parent | 96f1b03a5faf7dcfa81818986d9365aa786d7d4d (diff) | |
refactor: pass sources via specialArgs
Diffstat (limited to 'nixos/profiles/common')
| -rw-r--r-- | nixos/profiles/common/default.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/nixos/profiles/common/default.nix b/nixos/profiles/common/default.nix index 1705adf..d891879 100644 --- a/nixos/profiles/common/default.nix +++ b/nixos/profiles/common/default.nix @@ -1,13 +1,9 @@ -{ config, pkgs, ... }: +{ config, pkgs, sources, ... }: { - imports = - let - sources = import <top/npins>; - in - [ - ./sanix.nix - ./basics.nix - "${sources.agenix}/modules/age.nix" - ]; + imports = [ + ./sanix.nix + ./basics.nix + "${sources.agenix}/modules/age.nix" + ]; } |
