summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-02-14 22:20:01 +0100
committerMel <mel@rnrd.eu>2026-02-14 22:30:39 +0100
commitfcd9e858f8b8661d3104f3e736ccc6dabf393bf3 (patch)
treefd018ed8366b78935192a2ed0a1404fcf8d81054 /modules/home
parent1706e96d89cadf20a42557be64420194e5bfcd66 (diff)
downloadminerals-fcd9e858f8b8661d3104f3e736ccc6dabf393bf3.tar.zst
minerals-fcd9e858f8b8661d3104f3e736ccc6dabf393bf3.zip
Move over deprecated option paths to new paths for 25.11
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/common.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix
index 0bbb68c..4379a2b 100644
--- a/modules/home/common.nix
+++ b/modules/home/common.nix
@@ -16,8 +16,6 @@ in
programs = {
git = {
enable = true;
- userName = "Mel";
- userEmail = "mel@rnrd.eu";
signing = {
key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B";
signByDefault = true;
@@ -27,12 +25,22 @@ in
"*~"
"[._]*.sw?"
];
- aliases = {
- "skip" = "update-index --skip-worktree";
- "unskip" = "update-index --no-skip-worktree";
+
+ settings = {
+ user = {
+ name = "Mel";
+ email = "mel@rnrd.eu";
+ };
+
+ alias = {
+ "skip" = "update-index --skip-worktree";
+ "unskip" = "update-index --no-skip-worktree";
+ };
+
+ init.defaultBranch = "main";
+ pull.rebase = true;
};
- extraConfig.init.defaultBranch = "main";
};
direnv = {