From 5ead108ac20fdca523607b6b4c69ddfbb68ba561 Mon Sep 17 00:00:00 2001 From: isabel Date: Tue, 4 Feb 2025 10:45:22 +0000 Subject: [PATCH] chore: update to darwin v6 and remove docs --- modules/base/nix/system.nix | 2 +- modules/darwin/config-path.nix | 4 ++++ modules/darwin/default.nix | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 modules/darwin/config-path.nix diff --git a/modules/base/nix/system.nix b/modules/base/nix/system.nix index 7fb632cc..5ed0bea5 100644 --- a/modules/base/nix/system.nix +++ b/modules/base/nix/system.nix @@ -12,7 +12,7 @@ in system = { # this is the NixOS version that the configuration was generated with # this should be change to the version of the NixOS release that the configuration was generated with - stateVersion = mkDefault (ldTernary pkgs "23.05" 5); + stateVersion = mkDefault (ldTernary pkgs "23.05" 6); # we can get the git rev that we are working on and set that to the configurationRevision # this *might* be useful for debugging diff --git a/modules/darwin/config-path.nix b/modules/darwin/config-path.nix new file mode 100644 index 00000000..b0b5935c --- /dev/null +++ b/modules/darwin/config-path.nix @@ -0,0 +1,4 @@ +{ + # do not set the path to the darwin configuration + environment.darwinConfig = null; +} diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index 14feafff..f4deda9d 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -7,6 +7,8 @@ ./services # services exclusive to nix-darwin ./activation.nix # run when we start the system + ./config-path.nix # set the path to the darwin configuration + ./documentation.nix # turn off docs ./nix.nix # nix settings that can only be applied to nix-darwin ./remote-modules.nix # modules that are not in this repo, and don't have a nice place to be imported in ]; -- 2.51.2