Skip to content

Commit c561aa4

Browse files
committed
Add basics for new machine
1 parent 4f769de commit c561aa4

File tree

8 files changed

+47
-0
lines changed

8 files changed

+47
-0
lines changed

hosts/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ in {
3434
name = "eturkeltaub-mb";
3535
system = "aarch64-darwin";
3636
};
37+
38+
mercury = mkDarwinConfiguration {
39+
name = "mercury";
40+
system = "aarch64-darwin";
41+
};
3742
};
3843
}

hosts/mercury/configuration.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{ suites, profiles, secrets, ... }: {
2+
imports = with suites; base ++ fonts ++ [ profiles.users.work ];
3+
4+
tilde.host = {
5+
name = "mercury";
6+
directory = "/Users/ethan/Workspace/personal/tilde";
7+
system = "aarch64-darwin";
8+
};
9+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ programs.helix = { enable = true; }; }

modules/profiles/home/vscode/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
version = "0.0.1";
4747
sha256 = "8yglQDUc0CXG2EMi2/HXDJsxmXJ4YHvjNjTMnQwrgx8=";
4848
}
49+
{
50+
name = "vscode-eslint";
51+
publisher = "dbaeumer";
52+
version = "3.0.10";
53+
sha256 = "EVmexnTIQQDmj25/rql3eCfJd47zRui3TpHol6l0Vgs=";
54+
}
4955
];
5056

5157
userSettings = {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{ homeConfigurations, ... }: {
2+
tilde.host.primaryUser = {
3+
username = "ethan";
4+
homeDirectory = "/Users/ethan";
5+
};
6+
7+
home-manager.users = { inherit (homeConfigurations) work; };
8+
}

modules/suites/home.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ with profiles;
1313
fish.default
1414
fzf.default
1515
ghostty.default
16+
helix.default
1617
paths.default
1718
navi.default
1819
rippkgs.default

users/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ in rec {
1717
ethan = mkHomeConfiguration { username = "ethan"; };
1818
"ethan.turkeltaub" =
1919
mkHomeConfiguration { username = "ethan.turkeltaub"; };
20+
work = mkHomeConfiguration { username = "ethan"; };
2021
};
2122

2223
homeConfigurationsPortable = l.genAttrs config.systems (sys:

users/work/home.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{ config, pkgs, suites, secrets, ... }: {
2+
imports = (with suites; base ++ development);
3+
4+
tilde.home = {
5+
username = "ethan";
6+
homeDirectory = "/Users/ethan";
7+
gpg.keyId = "E975F001FBC704AE";
8+
};
9+
10+
home = {
11+
username = "ethan";
12+
homeDirectory = "/Users/ethan";
13+
14+
stateVersion = "24.05";
15+
};
16+
}

0 commit comments

Comments
 (0)