Compare commits

..
3 Commits
Author SHA1 Message Date
Weckyy702 8712ea4baf Update .gitignore 2026-06-23 14:24:48 +02:00
Weckyy702 9c101ab211 Tux/Weckyy702: Clean up user specific modules
Generic modules should live in generic locations :^)
2026-06-23 14:24:22 +02:00
Weckyy702 7c83ca07de Git: Split git home-manager config into user-specific and machine-user specific parts 2026-06-23 14:16:36 +02:00
9 changed files with 29 additions and 17 deletions
+1
View File
@@ -0,0 +1 @@
result
@@ -0,0 +1,5 @@
{
flake.modules.homeManager.tux-weckyy702-git = {
programs.git.signing.key = "/home/weckyy702/.ssh/id_ed25519_github_sign";
};
}
@@ -18,6 +18,8 @@
blueman-applet blueman-applet
prusa-slicer prusa-slicer
backlight backlight
tux-weckyy702-git
]; ];
}; };
}; };
-17
View File
@@ -2,21 +2,4 @@
flake.modules.nixos.git = { pkgs, ... }: { flake.modules.nixos.git = { pkgs, ... }: {
environment.systemPackages = [ pkgs.git ]; environment.systemPackages = [ pkgs.git ];
}; };
flake.modules.homeManager.git = {
programs.git = {
enable = true;
settings = {
user = {
email = "konstantin@veltko.de";
name = "Weckyy702";
};
init.defaultBranch = "main";
};
signing = {
format = "ssh";
signByDefault = true;
};
};
};
} }
+19
View File
@@ -0,0 +1,19 @@
{
flake.modules.homeManager.weckyy702-git = {
programs.git = {
enable = true;
settings = {
user = {
email = "konstantin@veltko.de";
name = "Weckyy702";
};
init.defaultBranch = "main";
};
signing = {
# NOTE: The signing key needs to be set per machine, see hosts/<name>/users/weckyy702/git.nix
format = "ssh";
signByDefault = true;
};
};
};
}
+2
View File
@@ -21,6 +21,8 @@
imports = with self.modules.homeManager; [ imports = with self.modules.homeManager; [
nixvim nixvim
btop btop
weckyy702-git
#TODO: moar aspects #TODO: moar aspects
]; ];
}; };