Add syncthing and btop

This commit is contained in:
2025-10-04 12:04:02 +08:00
parent b363cc4405
commit 7ee0e83a73
4 changed files with 47 additions and 16 deletions

30
flake.lock generated
View File

@@ -87,11 +87,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756770412, "lastModified": 1759362264,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751", "rev": "758cf7296bee11f1706a574c77d072b8a7baa881",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -183,11 +183,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758375677, "lastModified": 1759550472,
"narHash": "sha256-BLtD+6qWz7fQjPk2wpwyXQLGI0E30Ikgf2ppn2nVadI=", "narHash": "sha256-JLM3D6RbnGmXR8x+3WNac9neklAxA1JtZHZscwukFYw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "edc7468e12be92e926847cb02418e649b02b59dd", "rev": "817ace497b72b38da0c08728a683b7febaccf9cf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -242,11 +242,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1758277210, "lastModified": 1759381078,
"narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=", "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e", "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -266,11 +266,11 @@
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1758376730, "lastModified": 1759527752,
"narHash": "sha256-SimE8PamGpUvJVMcJ7jCUzCuLo8aNJP+2WDQfR0P+WE=", "narHash": "sha256-+sncyvy1dkwRBeq7vw/YpsKqB18UuaKuW2lKRRv6/EI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "2d3a01021b1a8193963b35c93a7aca39e39ace3b", "rev": "42d87fd4d8f51ea8c591b0b72af76b0aba991f54",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -289,11 +289,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758272005, "lastModified": 1758662783,
"narHash": "sha256-1u3xTH+3kaHhztPmWtLAD8LF5pTYLR2CpsPFWTFnVtQ=", "narHash": "sha256-igrxT+/MnmcftPOHEb+XDwAMq3Xg1Xy7kVYQaHhPlAg=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "aa975a3757f28ce862812466c5848787b868e116", "rev": "7d4c0fc4ffe3bd64e5630417162e9e04e64b27a4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -27,6 +27,37 @@
host = "0.0.0.0"; host = "0.0.0.0";
port = 11434; port = 11434;
}; };
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 = "K3ZK6OW-4Y6ALVJ-VHAWY73-UGBFX45-OTK532X-OZ4QPI3-ZOEMQCM-ATAD5QO";
name = "yadunut-iPhone";
};
};
folders = {
"Obsidian" = {
id = "mxzrk-t3afy";
path = "~/Obsidian";
devices = [
"yadunut-mbp"
"yadunut-iPhone"
];
};
};
};
};
}; };
# programs.git.extraConfig.credential.helper = lib.mkForce [ # programs.git.extraConfig.credential.helper = lib.mkForce [

View File

@@ -19,7 +19,6 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
zsh-completions zsh-completions
fd fd
btop
ripgrep ripgrep
wget wget
delta delta

View File

@@ -99,6 +99,7 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
neovim neovim
btop
]; ];
virtualisation.podman = { virtualisation.podman = {