mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
xd
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user