darwin build

This commit is contained in:
Noah Masur
2025-03-16 15:12:07 -04:00
parent 98356634cd
commit e0588878b1
10 changed files with 33 additions and 33 deletions

View File

@ -45,7 +45,7 @@ in
"/Applications/1Password.app"
"${pkgs.slack}/Applications/Slack.app"
"/System/Applications/Calendar.app"
"${pkgs.firefox-bin}/Applications/Firefox.app"
"${pkgs.firefox-unwrapped}/Applications/Firefox.app"
"/System/Applications/Messages.app"
"/System/Applications/Mail.app"
"/Applications/zoom.us.app"

View File

@ -1,24 +0,0 @@
{
config,
lib,
...
}:
let
cfg = config.nmasur.presets.services.nix-daemon;
in
{
options.nmasur.presets.services.nix-daemon.enable = lib.mkEnableOption "Nix garbage collection";
config = lib.mkIf cfg.enable {
services.nix-daemon.enable = true;
nix.gc.interval = {
Hour = 12;
Minute = 15;
Day = 1;
};
};
}

View File

@ -18,6 +18,8 @@ in
nix = {
enable = true;
# Set channel to flake packages, used for nix-shell commands
nixPath = [ "nixpkgs=${pkgs.path}" ];
@ -37,6 +39,11 @@ in
gc = {
automatic = true;
options = "--delete-older-than 10d";
interval = {
Hour = 12;
Minute = 15;
Day = 1;
};
};
settings = {

View File

@ -14,7 +14,7 @@ in
config = lib.mkIf cfg.enable {
security.pam.enableSudoTouchIdAuth = true;
security.pam.services.sudo_local.touchIdAuth = true;
system = {

View File

@ -16,7 +16,7 @@ in
config = lib.mkIf cfg.enable {
users.users."${username}" = {
# macOS user
home = config.home-manager.users.${username}.home.homeDirectory;
home = "/Users/${username}";
uid = 502;
# shell = pkgs.fish; # Default shell
};