refactor: update aichat model; add atuin daemon; cleanup gui
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-01-13 15:20:13 +05:30
parent 5a195af336
commit ac55fa4426
4 changed files with 22 additions and 22 deletions

View File

@@ -141,7 +141,7 @@
*/
''
---
model: ryu:gpt-oss:20b
model: openai:gpt-5-nano
---
Your task is to generate a concise and informative commit message based on the provided diff. Use the conventional commit format, which includes a type (feat, fix, chore, docs, style, refactor, perf, test) and an optional scope. The message should be in the imperative mood and should not exceed 72 characters in the subject line. Do not under any circumstance include any additional text or explanations, just add the commit message.
'';

View File

@@ -9,9 +9,30 @@
auto_sync = true;
sync_frequency = "1m";
sync_address = "https://atuin.darksailor.dev";
sync = {
records = true;
};
daemon = {
enabled = true;
};
};
enable = true;
enableFishIntegration = true;
enableNushellIntegration = true;
};
systemd.user.services.atuin-daemon = {
Unit = {
Description = "Atuin Daemon";
After = ["network.target"];
};
Install = {
WantedBy = ["default.target"];
};
Service = {
ExecStart = "${pkgs.atuin}/bin/atuin daemon";
Restart = "on-failure";
RestartSec = "10s";
# Environment = lib.mkForce "ATUIN_DATA_DIR=${device.home}/.local/share/atuin";
};
};
}

View File

@@ -75,9 +75,4 @@
./dysk.nix
./binwalk.nix
];
# home.packages = with pkgs;
# []
# ++ lib.optionals (!device.isServer) []
# ++ lib.optionals device.isLinux []
# ++ lib.optionals device.isDarwin [];
}

View File

@@ -2,24 +2,8 @@
pkgs,
device,
lib,
inputs,
...
}: {
systemd.user.services.onepassword-gui = lib.optionalAttrs (device.is "ryu") {
Unit = {
Description = "1Password GUI";
BindsTo = ["graphical-session.target"];
After = ["graphical-session-pre.target"];
};
Service = {
ExecStart = "${pkgs._1password-gui}/bin/1password";
Restart = "always";
};
Install = {
WantedBy = ["graphical-session.target"];
};
};
home.packages = with pkgs;
lib.optionals (device.is "ryu") [
nautilus