Files
nix/homes/x86_64-linux/yadunut@penguin/default.nix
2025-10-28 11:40:05 +08:00

65 lines
1.3 KiB
Nix

{
lib,
pkgs,
config,
...
}:
{
git = {
enable = true;
signingKey = "~/.ssh/id_ed25519.pub";
};
zsh.enable = true;
nushell.enable = true;
neovim.enable = true;
home.packages = with pkgs; [
ouch
dive
just
rsync
zellij
];
services = {
syncthing = {
enable = true;
guiAddress = "0.0.0.0:8384";
settings = {
options = {
urAccepted = -1;
};
devices = {
"yadunut-mbp" = {
id = "2KL36Z3-DZSQKEY-H26OOAZ-7PY7U3B-X53GXKH-LILC7KW-7EWXNCD-CMMUJAS";
name = "yadunut-mbp";
};
"yadunut-iPhone" = {
id = "3B4KGXN-IG43N4R-WVMQW4N-QC2OJ4C-PZSKLQI-ZCDBOP5-RLDXYH7-FQK3JAH";
name = "yadunut-iPhone";
};
};
folders = {
"Obsidian" = {
id = "mxzrk-t3afy";
path = "~/Obsidian";
devices = [
"yadunut-mbp"
"yadunut-iPhone"
];
};
};
};
};
};
# programs.git.extraConfig.credential.helper = lib.mkForce [
# "${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
# "${pkgs.git-credential-oauth}/bin/git-credential-oauth"
# ];
home.stateVersion = "25.11";
programs.home-manager.enable = true;
}