summaryrefslogtreecommitdiff
path: root/modules/darwin
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-02 18:51:02 -0500
committerseth <[email protected]>2024-02-02 19:22:07 -0500
commit6d2a96d514d3e872df6ec775ac826c5a3ed5e55f (patch)
treec3bd1bb2f77c2650308aba743827577065798b2d /modules/darwin
parent5367a9145feec25b020ffb93591c660fa22968e1 (diff)
modules/nix: link nixpkgs to /etc
Diffstat (limited to 'modules/darwin')
-rw-r--r--modules/darwin/base.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/darwin/base.nix b/modules/darwin/base.nix
index 913ea04..9fc0d86 100644
--- a/modules/darwin/base.nix
+++ b/modules/darwin/base.nix
@@ -1,6 +1,13 @@
-_: {
+{
+ lib,
+ inputs,
+ ...
+}: {
imports = [../shared];
+ # not sure why i have to force this
+ environment.etc."nix/inputs/nixpkgs".source = lib.mkForce inputs.nixpkgs.outPath;
+
programs = {
bash.enable = true;
vim.enable = true;