Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8712ea4baf
|
||
|
|
9c101ab211
|
||
|
|
7c83ca07de
|
@@ -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
|
||||
prusa-slicer
|
||||
backlight
|
||||
|
||||
tux-weckyy702-git
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,21 +2,4 @@
|
||||
flake.modules.nixos.git = { pkgs, ... }: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -21,6 +21,8 @@
|
||||
imports = with self.modules.homeManager; [
|
||||
nixvim
|
||||
btop
|
||||
|
||||
weckyy702-git
|
||||
#TODO: moar aspects
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user