tweak: no longer hard-coding git username
This commit is contained in:
parent
7775745c37
commit
25bed2831a
1 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
# defines a custom git module
|
||||
flake.nixosModules.git =
|
||||
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, user-parts, ... }:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
programs.git.enable = true;
|
||||
|
||||
# home manager options
|
||||
home-manager.users.serenity = {
|
||||
home-manager.users.${user-parts.user.username} = {
|
||||
|
||||
programs = {
|
||||
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
email = "serenity-F@noreply.codeberg.org";
|
||||
|
||||
# path to signing key
|
||||
signingKey = "/home/serenity/.ssh/id_ed25519.pub";
|
||||
signingKey = "/home/${user-parts.user.username}/.ssh/id_ed25519.pub";
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue