summaryrefslogtreecommitdiff
path: root/home/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/default.nix')
-rw-r--r--home/default.nix30
1 files changed, 23 insertions, 7 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";
+ };
+ };
+ };
}