diff --git a/configurations/darwin/sambar.nix b/configurations/darwin/sambar.nix deleted file mode 100644 index ec92e5d..0000000 --- a/configurations/darwin/sambar.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ flake, pkgs, ... }: -{ - nixos-unified.sshTarget = "nix-infra@sambar"; - - networking.hostName = "sambar"; - # ids.uids.nixbld = 300; - system.stateVersion = 4; - nixpkgs.hostPlatform = "aarch64-darwin"; - - environment.systemPackages = with pkgs; [ - btop - tailscale - ]; - - services = { - openssh.enable = true; - tailscale.enable = true; - }; - - nix.enable = true; - - # Legacy admin user, `nix-infra`. Keeping for compat. - users.users.nix-infra = { - name = "nix-infra"; - uid = 502; - home = "/Users/nix-infra"; - openssh.authorizedKeys.keys = [ - flake.config.me.sshKey - ]; - }; -} diff --git a/configurations/home/srid@sambar.nix b/configurations/home/srid@sambar.nix new file mode 100644 index 0000000..3058eb5 --- /dev/null +++ b/configurations/home/srid@sambar.nix @@ -0,0 +1,13 @@ +{ flake, ... }: +let + inherit (flake) inputs; + inherit (inputs) self; +in +{ + imports = [ + self.homeModules.default + self.homeModules.darwin-only + ]; + + home.username = "srid"; +} diff --git a/modules/home/darwin-only.nix b/modules/home/darwin-only.nix index 42760a2..579ac44 100644 --- a/modules/home/darwin-only.nix +++ b/modules/home/darwin-only.nix @@ -2,6 +2,7 @@ { imports = [ ./all/zsh.nix + ./all/bash.nix ./all/nushell # ./all/emacs.nix ];