about summary refs log tree commit diff
path: root/users/pn.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/pn.nix')
-rwxr-xr-xusers/pn.nix31
1 files changed, 4 insertions, 27 deletions
diff --git a/users/pn.nix b/users/pn.nix
index 4876323..cf59555 100755
--- a/users/pn.nix
+++ b/users/pn.nix
@@ -19,6 +19,10 @@ in
     };
 
     home-manager.users.pn = {
+      imports = [
+        ../home.nix
+      ];
+
       xsession = {
         enable = true;
         windowManager.command = "dbus-run-session -- dwm";
@@ -46,33 +50,6 @@ in
         scriptPath = ".xinitrc";
       };
 
-      programs.git = {
-        enable = true;
-        package = pkgs.gitAndTools.gitFull;
-        userName = "Patryk Niedźwiedziński";
-        userEmail = "pniedzwiedzinski19@gmail.com";
-        signing = {
-          key = "pniedzwiedzinski19@gmail.com";
-          signByDefault = true;
-        };
-        aliases = {
-          lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative";
-        };
-
-        extraConfig = {
-          url."ssh://git@github.com/".insteadOf = "https://github.com/";
-          url."ssh://git@github.com/pniedzwiedzinski/".insteadOf = "pn:";
-          url."ssh://git@gitlab.com/".insteadOf = "https://gitlab.com/";
-          url."ssh://git@bitbucket.org/".insteadOf = "https://bitbucket.org/";
-
-          sendemail = {
-            smtpserver = "${pkgs.msmtp}/bin/msmtp";
-            smtpserveroption  = [ "-a" "pniedzwiedzinski19@gmail.com" ];
-          };
-        };
-      };
-
-
     };
 
   ## Although it's less secure I tend not to have sensitive data on my machines