diff options
| author | Franck Cuny <fcuny@roblox.com> | 2025-07-24 11:32:05 -0700 |
|---|---|---|
| committer | Franck Cuny <fcuny@roblox.com> | 2025-07-24 11:32:05 -0700 |
| commit | 2cd936257549c49316f9025a121eedc5b3dd8b0a (patch) | |
| tree | 6b3702111494f4743e99971611dff5ec2df6c6b7 /machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix | |
| parent | install gh only on work machine (diff) | |
| download | infra-2cd936257549c49316f9025a121eedc5b3dd8b0a.tar.gz | |
fix configuration for work machine
The hostname is capitalized so let's also capitalize the filename!
The overlays are not under `customPackages` anymore.
Diffstat (limited to 'machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix')
| -rw-r--r-- | machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix b/machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix deleted file mode 100644 index e0ebf11..0000000 --- a/machines/darwin/aarch64-darwin/hq-kwny2vh41p.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ - adminUser, - pkgs, - self, - ... -}: -{ - - imports = [ - "${self}/profiles/home-manager.nix" - "${self}/profiles/darwin.nix" - ]; - - system.primaryUser = adminUser.name; - - # https://github.com/nix-darwin/nix-darwin/issues/1339 - ids.gids.nixbld = 30000; - - fonts.packages = with pkgs; [ - source-code-pro - ]; - - # The user should already exist, but we need to set this up so Nix knows - # what our home directory is (https://github.com/LnL7/nix-darwin/issues/423). - users = { - users.${adminUser.name} = { - home = "/Users/${adminUser.name}"; - shell = pkgs.fish; - }; - }; - - environment.shells = [ pkgs.fish ]; - - programs.fish.enable = true; - programs.fish.shellInit = '' - # Nix - if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' - source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' - end - # End Nix - ''; - - programs.ssh.knownHosts = { - "github.com".publicKey = - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; - }; - - home-manager.users.${adminUser.name} = { - home.stateVersion = "23.05"; - home.username = "${adminUser.name}"; - home.homeDirectory = "/Users/${adminUser.name}"; - home.packages = with pkgs; [ grpcurl ]; - imports = [ - "${self}/users/profiles/mac.nix" - "${self}/users/profiles/work.nix" - ]; - inherit (adminUser) userinfo; - programs.git.userEmail = "fcuny@roblox.com"; - }; -} |
