summaryrefslogtreecommitdiff
path: root/modules/darwin
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-02 06:43:32 -0400
committerseth <[email protected]>2024-06-02 06:51:54 -0400
commit1ea056c38aea10928a4255a581e796c1e1db34dd (patch)
tree0047bd51065b1919eb47c95b3080846bbb9a1a47 /modules/darwin
parentc6456ea701c4dcabf7676005134db8cf925be7db (diff)
modules: use `nixpkgs.flake` options
Diffstat (limited to 'modules/darwin')
-rw-r--r--modules/darwin/base/default.nix3
-rw-r--r--modules/darwin/base/nix.nix16
2 files changed, 2 insertions, 17 deletions
diff --git a/modules/darwin/base/default.nix b/modules/darwin/base/default.nix
index 5066832..532419f 100644
--- a/modules/darwin/base/default.nix
+++ b/modules/darwin/base/default.nix
@@ -1,7 +1,8 @@
{
imports = [
../../shared
- ./nix.nix
./programs.nix
];
+
+ services.nix-daemon.enable = true;
}
diff --git a/modules/darwin/base/nix.nix b/modules/darwin/base/nix.nix
deleted file mode 100644
index dd593f9..0000000
--- a/modules/darwin/base/nix.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- config,
- lib,
- inputs,
- ...
-}: let
- cfg = config.base.nixSettings;
- enable = config.base.enable && cfg.enable;
-in {
- config = lib.mkIf enable {
- # not sure why i have to force this
- environment.etc."nix/inputs/nixpkgs".source = lib.mkForce inputs.nixpkgs.outPath;
-
- services.nix-daemon.enable = true;
- };
-}