Skip to content

Commit 9f50a86

Browse files
committed
chore(wolf): fix upstream updates on nix ssh and add new entry for wolf
1 parent fdd3088 commit 9f50a86

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ rebuild:
3636
@sudo nix run nix-darwin -- switch --flake .#earlymoon --show-trace
3737

3838

39+
[linux]
40+
rebuild:
41+
@echo "🍎🍎🍎 Rebuilding linux configuration 🍎🍎🍎"
42+
@nix run home-manager/master -- switch --flake .#wolf
43+

machines/wolf.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ home-manager.lib.homeManagerConfiguration {
1818
{
1919
home.username = "pwn";
2020
home.homeDirectory = "/home/pwn";
21-
home.stateVersion = "25.05";
22-
21+
home.stateVersion = "24.05";
2322
}
2423
];
2524
}

modules/ssh.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
{
33
programs.ssh = {
44
enable = true;
5-
65
enableDefaultConfig = false;
76

87
matchBlocks = {
98
"*" = {
109
userKnownHostsFile = "${config.xdg.dataHome}/ssh/known_hosts";
1110
identityFile = "${config.xdg.dataHome}/ssh/id_rsa";
1211

13-
extraOptions = {
14-
AddKeysToAgent = "yes";
15-
UseKeychain = if pkgs.stdenv.isDarwin then "yes" else "no";
16-
};
12+
extraOptions =
13+
if pkgs.stdenv.isDarwin then
14+
{
15+
AddKeysToAgent = "yes";
16+
UseKeychain = "yes";
17+
}
18+
else
19+
{
20+
AddKeysToAgent = "yes";
21+
};
1722
};
1823

1924
"fawn" = {

0 commit comments

Comments
 (0)