Skip to content

Commit ef8321d

Browse files
committed
refactor: migrate OPL2212-2 config to Attm-M4-Max and update references
- Rename host OPL2212-2 to Attm-M4-Max across codebase and docs - Update flake.nix and README.org to use Attm-M4-Max - Remove redundant gh program settings for simplified configuration - Add new hosts/Attm-M4-Max/default.nix for Mac M4 Max setup
1 parent ba668b7 commit ef8321d

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

README.org

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
** Target
77

8-
| machine | name | os | system | stable |
9-
|------------------+-----------+---------+----------------+--------|
10-
| M1 Mac Pro | OPL2212-2 | OSX | aarch64-darwin | ◎ |
11-
| Thinkpad X13Gen2 | X13Gen2 | NixOS | x86_64-linux | × |
12-
| Android OPPO-A79 | OPPO-A79 | Android | aarch64-linux | △ |
8+
| machine | name | os | system | stable |
9+
|------------------+-------------+---------+----------------+--------|
10+
| Mac M4 Max | Attm-M4-Max | OSX | aarch64-darwin | ◎ |
11+
| Thinkpad X13Gen2 | X13Gen2 | NixOS | x86_64-linux | |
12+
| Android OPPO-A79 | OPPO-A79 | Android | aarch64-linux | △ |
1313

1414
** Usage
1515
*** for OPL2212-2
1616
#+begin_src shell
17-
nix run nix-darwin --extra-experimental-features 'flakes nix-command' -- switch --flake .#OPL2212-2 --show-trace
17+
sudo nix run nix-darwin --extra-experimental-features 'flakes nix-command' -- switch --flake .#Attm-M4-Max --show-trace
1818
#+end_src
1919
*** for X13Gen2
2020
#+begin_src shell

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
flake = {
6464
darwinConfigurations = {
65-
OPL2212-2 = import ./hosts/OPL2212-2 { inherit inputs; };
65+
Attm-M4-Max = import ./hosts/Attm-M4-Max { inherit inputs; };
6666
};
6767
nixosConfigurations = {
6868
X13Gen2 = import ./hosts/X13Gen2 { inherit inputs; };

home-manager/programs/gh/default.nix

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
{
22
programs.gh = {
33
enable = true;
4-
settings = {
5-
git_protocol = "ssh";
6-
};
7-
8-
gitCredentialHelper = {
9-
enable = true;
10-
hosts = [
11-
"https://github.com"
12-
"https://gist.github.com"
13-
];
14-
};
154
};
165

176
programs.fish = {

hosts/OPL2212-2/default.nix renamed to hosts/Attm-M4-Max/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let
66
system = "aarch64-darwin";
77
pkgs = import nixpkgs { inherit system; };
88

9-
username = "obara";
9+
username = "take";
1010
configuration =
1111
{ ... }:
1212
{

0 commit comments

Comments
 (0)