feat: install some apps from apple store instead of homebrew

feat: replace username with ryan
fix: secrets
This commit is contained in:
Ryan Yin
2023-07-15 16:15:00 +08:00
parent c90d1c0208
commit c6e736d64b
13 changed files with 184 additions and 118 deletions

View File

@@ -14,7 +14,7 @@
# enable flakes globally
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = ["admin"];
nix.settings.trusted-users = ["ryan"];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -44,7 +44,9 @@
security.pam.enableSudoTouchIdAuth = true;
# Set your time zone.
time.timeZone = "Asia/Shanghai";
# comment this due to the issue:
# https://github.com/LnL7/nix-darwin/issues/359
# time.timeZone = "Asia/shanghai";
# Apps
# `home-manager` currently has issues adding them to `~/Applications`
@@ -80,9 +82,9 @@
};
# Define a user account. Don't forget to set a password with passwd.
users.users.admin = {
home = "/Users/admin";
description = "admin";
users.users.ryan = {
home = "/Users/ryan";
description = "ryan";
# set user's default shell back to zsh
# `chsh -s /bin/zsh`