summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/development-server.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/home/development-server.nix b/modules/home/development-server.nix
new file mode 100644
index 0000000..de196ea
--- /dev/null
+++ b/modules/home/development-server.nix
@@ -0,0 +1,33 @@
+{ ... }:
+
+{
+ imports = [
+ ../foundation/home
+
+ ./shell.nix
+ ];
+
+ programs = {
+ git = {
+ enable = true;
+ userName = "Mel";
+ userEmail = "mel@rnrd.eu";
+ signing = {
+ key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B";
+ signByDefault = true;
+ };
+ ignores = [
+ # ignore most vim swap-files
+ "*~"
+ "[._]*.sw?"
+ ];
+ extraConfig.init.defaultBranch = "main";
+ };
+
+ direnv = {
+ enable = true;
+ nix-direnv.enable = true;
+ };
+ };
+ };
+}