fix: builtins.storePath issue on mac

This commit is contained in:
Noah Masur 2023-04-19 16:47:36 -04:00
parent fe938ec713
commit 3059241c1c
5 changed files with 12 additions and 5 deletions

View File

@ -18,6 +18,7 @@ darwin.lib.darwinSystem {
})
home-manager.darwinModules.home-manager
{
nixpkgs.overlays = [ firefox-darwin.overlay ] ++ overlays;
networking.hostName = "lookingglass";
identityFile = "/Users/Noah.Masur/.ssh/id_ed25519";
gui.enable = true;
@ -26,9 +27,6 @@ darwin.lib.darwinSystem {
dark = true;
};
mail.user = globals.user;
nixpkgs.overlays = [ firefox-darwin.overlay ] ++ overlays;
# Set registry to flake packages, used for nix X commands
nix.registry.nixpkgs.flake = nixpkgs;
charm.enable = true;
neovim.enable = true;
mail.enable = true;

View File

@ -81,7 +81,6 @@
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};

View File

@ -70,7 +70,7 @@
# Set registry to this flake's packages, used for nix X commands
registry.nixpkgs.to = {
type = "path";
path = pkgs.path;
path = builtins.toString pkgs.path;
};
};

View File

@ -4,6 +4,13 @@
services.nix-daemon.enable = true;
# This setting only applies to Darwin, different on NixOS
nix.gc.interval = {
Hour = 12;
Minute = 15;
Day = 1;
};
environment.shells = [ pkgs.fish ];
security.pam.enableSudoTouchIdAuth = true;

View File

@ -8,6 +8,9 @@
system.stateVersion =
config.home-manager.users.${config.user}.home.stateVersion;
# This setting only applies to NixOS, different on Darwin
nix.gc.dates = "weekly";
};
}