This commit is contained in:
2026-02-23 19:51:37 +01:00
parent e55ae7e6c1
commit e690f58b9a
6 changed files with 64 additions and 25 deletions

View File

@@ -1,7 +1,6 @@
{
pkgs,
full_name,
email,
userConfig,
...
}:
@@ -14,8 +13,8 @@
enable = true;
settings = {
user = {
name = full_name;
email = email;
name = userConfig.fullName;
email = userConfig.email;
};
init.defaultBranch = "master";
push.autoSetupRemote = true;
@@ -23,7 +22,7 @@
};
signing = {
key = email;
key = userConfig.email;
signByDefault = true;
};

View File

@@ -1,4 +1,4 @@
{ username, ... }:
{ userConfig, ... }:
{
services.ssh-agent.enable = true;
@@ -10,13 +10,13 @@
matchBlocks = {
"dmowski" = {
hostname = "192.168.0.30";
user = username;
user = userConfig.username;
port = 22;
identityFile = "~/.ssh/dmowski";
};
"aur.archlinux.org" = {
user = username;
user = userConfig.username;
identityFile = "~/.ssh/aur";
};

View File

@@ -1,7 +1,7 @@
{
lib,
isNixOS,
username,
userConfig,
...
}:
@@ -14,7 +14,7 @@
fullscreen = true;
early-exit = true;
initial-tool = "crop";
output-filename = "/home/${username}/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
output-filename = "/home/${userConfig.username}/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
save-after-copy = true;
copy-command = "wl-copy";
disable-notifications = false;