diff options
| -rw-r--r-- | home/default.nix | 30 | ||||
| -rw-r--r-- | nixos/nix.nix | 2 |
2 files changed, 24 insertions, 8 deletions
diff --git a/home/default.nix b/home/default.nix index 2486b09..bc7026d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + config, + pkgs, + ... +}: { personal = { profiles = { dev = true; @@ -14,10 +18,22 @@ accounts.email.accounts.personal.primary = true; - programs.bash.bashrcExtra = '' - function screen (){ - echo -ne "\033]0;screen $@\a" - sudo ${pkgs.screen}/bin/screen $@ - } - ''; + programs = { + bash.bashrcExtra = '' + function screen (){ + echo -ne "\033]0;screen $@\a" + sudo ${pkgs.screen}/bin/screen $@ + } + ''; + + # necessary because the hephaistos remote builder sets + # nixremote as default ssh user + ssh = { + enable = true; + matchBlocks."hephaistos.local" = { + user = config.home.username; + extraOptions.IdentitiesOnly = "no"; + }; + }; + }; } diff --git a/nixos/nix.nix b/nixos/nix.nix index 70bee95..e710c04 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -14,7 +14,7 @@ flake = "git+file:///etc/nixos"; gc.enable = true; remoteBuilds = { - # enable = true; + enable = true; machines.hephaistos = { enable = true; domain = "local"; |
