diff options
author | Ben Sima <ben@bsima.me> | 2019-05-12 21:47:35 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-12 21:47:35 -0700 |
commit | 0f28ee65ab17976bd77690a2fc97d2613712e473 (patch) | |
tree | 7782681c874a6d611e479399c6e263045dbd4301 /depo/nutin-madaj/configuration.nix | |
parent | 703c55b0632b2693922648a0555722cb96f13770 (diff) |
get git working
Diffstat (limited to 'depo/nutin-madaj/configuration.nix')
-rw-r--r-- | depo/nutin-madaj/configuration.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/depo/nutin-madaj/configuration.nix b/depo/nutin-madaj/configuration.nix index 5ad9b94..a377ecf 100644 --- a/depo/nutin-madaj/configuration.nix +++ b/depo/nutin-madaj/configuration.nix @@ -1,7 +1,8 @@ -{ ... }: +{ pkgs, ... }: let bensIp = "68.107.97.20"; # hiddor-kahih + benKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiNB0iF9ClawNEizBtdYucqp1tAXXRbqvlPS6PFRrtiwSl+SJD29BCLgA5rLxcmFhBHZ/iId/En7GPFEzI/gMu071J7pUI4OcW0UVZju3GNc6ZEz/a6AD2u79JiXEDHfPEdmMqAe36kkaK0KJWSQP3xsFRwJ+8F8HHbSwoCLL+GJhBgAWHQLGfKesNrDacNljNDU3CgkEnDmu8QKuSzH2k1vrr69q2u2iMSAdiStDBAWEjN5nCVrm2XB2vmFLMtXpX2n8JI+znOGzRRDc8dNXejQeDMZGyV6jfVidEIX7vdgSydGjTRKcCLVAsKY3z0gYBZ8u8EUNujgcFBnnAvytj ben@neb"; ibbPort = "3000"; fathomPort = "3030"; gitDir = "/srv/git"; @@ -23,7 +24,6 @@ in user = "git"; group = "git"; extraGitoliteRc = '' - $RC{UMASK} = 0022; $RC{SITE_INFO} = 'a computer is a bicycle for the mind.'; $RC{GIT_CONFIG_KEYS} = 'gitweb\.(owner|description|category)'; ''; @@ -216,7 +216,5 @@ in networking.hostName = "simatime"; networking.firewall.allowPing = true; services.openssh.enable = true; - users.users.root.openssh.authorizedKeys.keys = [ - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiNB0iF9ClawNEizBtdYucqp1tAXXRbqvlPS6PFRrtiwSl+SJD29BCLgA5rLxcmFhBHZ/iId/En7GPFEzI/gMu071J7pUI4OcW0UVZju3GNc6ZEz/a6AD2u79JiXEDHfPEdmMqAe36kkaK0KJWSQP3xsFRwJ+8F8HHbSwoCLL+GJhBgAWHQLGfKesNrDacNljNDU3CgkEnDmu8QKuSzH2k1vrr69q2u2iMSAdiStDBAWEjN5nCVrm2XB2vmFLMtXpX2n8JI+znOGzRRDc8dNXejQeDMZGyV6jfVidEIX7vdgSydGjTRKcCLVAsKY3z0gYBZ8u8EUNujgcFBnnAvytj ben@neb" - ]; + users.users.root.openssh.authorizedKeys.keys = [ benKey ]; } |