summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-08-28 15:40:14 +0200
committerMel <mel@rnrd.eu>2025-08-28 17:43:32 +0200
commit5a8c692e7efba3801685e14025692c14036f6ba2 (patch)
tree684e777d81fcb9638ae60c28245d2293b5b47bcc /modules/home
parent3f55de2ca5208b6fe5997766135e00cdff44a4d6 (diff)
downloadminerals-5a8c692e7efba3801685e14025692c14036f6ba2.tar.zst
minerals-5a8c692e7efba3801685e14025692c14036f6ba2.zip
Add dev-server specific common module files
Signed-off-by: Mel <mel@rnrd.eu>
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;
+ };
+ };
+ };
+}