diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-14 13:08:07 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-14 13:08:07 -0800 |
| commit | 05fba25e608d3d44e0785f1ddb5ab30a95129131 (patch) | |
| tree | 60a2a563002079282873afad59d296958f978fce /machines/darwin | |
| parent | use `just` (again) instead of custom scripts (diff) | |
| download | infra-05fba25e608d3d44e0785f1ddb5ab30a95129131.tar.gz | |
simplify path structures for machines
Diffstat (limited to 'machines/darwin')
| -rw-r--r-- | machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix | 37 | ||||
| -rw-r--r-- | machines/darwin/aarch64-darwin/mba-m2.nix | 52 |
2 files changed, 0 insertions, 89 deletions
diff --git a/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix b/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix deleted file mode 100644 index 52dc522..0000000 --- a/machines/darwin/aarch64-darwin/HQ-KWNY2VH41P.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - ../../../profiles/darwin.nix - ../../../profiles/home-manager.nix - ]; - - users.users.fcuny = { - home = "/Users/fcuny"; - 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 - ''; - - home-manager.users.fcuny = { - home.stateVersion = "23.05"; - home.username = "fcuny"; - home.homeDirectory = "/Users/fcuny"; - imports = [ - ../../../home/profiles/mac.nix - ../../../home/profiles/work.nix - ]; - userinfo = { - email = "fcuny@roblox.com"; - fullName = "Franck Cuny"; - }; - }; -} diff --git a/machines/darwin/aarch64-darwin/mba-m2.nix b/machines/darwin/aarch64-darwin/mba-m2.nix deleted file mode 100644 index 08a27c1..0000000 --- a/machines/darwin/aarch64-darwin/mba-m2.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ pkgs, ... }: -{ - age.secrets = { - ssh-remote-builder.file = ../../../secrets/ssh-remote-builder.age; - }; - - imports = [ - ../../../profiles/darwin.nix - ../../../profiles/home-manager.nix - ../../../profiles/remote-builder.nix - ]; - - # https://github.com/nix-darwin/nix-darwin/issues/1339 - ids.gids.nixbld = 30000; - - networking.hostName = "mba-m2"; - - users.users.fcuny = { - home = "/Users/fcuny"; - 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 - ''; - - home-manager.users.fcuny = { - home.stateVersion = "23.05"; - home.username = "fcuny"; - home.homeDirectory = "/Users/fcuny"; - home.packages = with pkgs; [ - element-desktop - hledger - ]; - imports = [ - ../../../home/profiles/mac.nix - ../../../home/profiles/media.nix - ../../../home/profiles/security.nix - ]; - userinfo = { - email = "franck@fcuny.net"; - fullName = "Franck Cuny"; - }; - }; -} |
