mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
fix: builtins.storePath issue on mac
This commit is contained in:
parent
fe938ec713
commit
3059241c1c
@ -18,6 +18,7 @@ darwin.lib.darwinSystem {
|
|||||||
})
|
})
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [ firefox-darwin.overlay ] ++ overlays;
|
||||||
networking.hostName = "lookingglass";
|
networking.hostName = "lookingglass";
|
||||||
identityFile = "/Users/Noah.Masur/.ssh/id_ed25519";
|
identityFile = "/Users/Noah.Masur/.ssh/id_ed25519";
|
||||||
gui.enable = true;
|
gui.enable = true;
|
||||||
@ -26,9 +27,6 @@ darwin.lib.darwinSystem {
|
|||||||
dark = true;
|
dark = true;
|
||||||
};
|
};
|
||||||
mail.user = globals.user;
|
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;
|
charm.enable = true;
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
mail.enable = true;
|
mail.enable = true;
|
||||||
|
@ -81,7 +81,6 @@
|
|||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
# Set registry to this flake's packages, used for nix X commands
|
# Set registry to this flake's packages, used for nix X commands
|
||||||
registry.nixpkgs.to = {
|
registry.nixpkgs.to = {
|
||||||
type = "path";
|
type = "path";
|
||||||
path = pkgs.path;
|
path = builtins.toString pkgs.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -4,6 +4,13 @@
|
|||||||
|
|
||||||
services.nix-daemon.enable = true;
|
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 ];
|
environment.shells = [ pkgs.fish ];
|
||||||
|
|
||||||
security.pam.enableSudoTouchIdAuth = true;
|
security.pam.enableSudoTouchIdAuth = true;
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
system.stateVersion =
|
system.stateVersion =
|
||||||
config.home-manager.users.${config.user}.home.stateVersion;
|
config.home-manager.users.${config.user}.home.stateVersion;
|
||||||
|
|
||||||
|
# This setting only applies to NixOS, different on Darwin
|
||||||
|
nix.gc.dates = "weekly";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user