Compare commits

...

2 commits

Author SHA1 Message Date
1168fdb539 ran formatter. 2025-02-25 12:49:21 +01:00
0c7c761f56 added some more qol git settings. 2025-02-25 12:47:05 +01:00
6 changed files with 33 additions and 32 deletions

View file

@ -18,9 +18,9 @@
id-case = "lower";
};
format.markdown={
link-format="wiki";
hashtags=true;
format.markdown = {
link-format = "wiki";
hashtags = true;
};
alias = {

View file

@ -124,10 +124,10 @@ in {
}
{
Cyberchef = {
icon="sh-cyberchef.svg";
href="https://cyberchef.venberg.xyz";
siteMonitor= "https://cyberchef.venberg.xyz";
description= "a data toolbox";
icon = "sh-cyberchef.svg";
href = "https://cyberchef.venberg.xyz";
siteMonitor = "https://cyberchef.venberg.xyz";
description = "a data toolbox";
};
}
];

View file

@ -4,8 +4,8 @@
pkgs,
lib,
...
}:let
port="8080";
}: let
port = "8080";
in {
systemd.services.miniserve = {
wantedBy = ["multi-user.target"];

View file

@ -17,7 +17,7 @@ bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
nix run --extra-experimental-features "nix-command flakes" --no-write-lock-file github:nix-community/home-manager/ -- --extra-experimental-features "nix-command flakes" --flake .#{{target}} switch
format:
nix fmt
nix fmt ./
home-gc:
home-manager expire-generations -7days

View file

@ -44,36 +44,37 @@
line-numbers = true;
};
};
# difftastic.enable=true;
# difftastic.background="dark";
userEmail = config.user.git.profile.email;
userName = config.user.git.profile.name;
extraConfig = {
init = {
defaultBranch = "main";
};
init.defaultBranch = "main";
push = {
autoSetupRemote = true;
default = "current";
default = "simple";
followTags = true;
};
pull = {
ff = true;
fetch = {
prune = true;
pruneTags = true;
all = true;
};
merge = {
conflictstyle = "zdiff3";
pull.ff = true;
merge.conflictstyle = "zdiff3";
diff = {
algorithm = "histogram";
colorMoved = "plain";
mnemonicPrefix = true;
renames = true;
};
rebase = {
autosquash = true;
};
help = {
autocorrect = "prompt";
};
branch = {
sort = "-committerdate";
};
status = {
submodulesummary = true;
rerere = {
enabled = true;
autoupdate = true;
};
rebase.autosquash = true;
help.autocorrect = "prompt";
branch.sort = "-committerdate";
tag.sort = "version:refname";
status.submodulesummary = true;
};
includes =
if config.user.git.workProfile.enable

View file

@ -8,7 +8,7 @@
description = "A flake containing a basic latex environment";
};
typst = {
path= ./typst;
path = ./typst;
description = "A flake containing a basic typst environment";
};
}