home: migrate git config to settings format and add new packages
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
gnumeric
|
||||
gh
|
||||
neovim-remote
|
||||
flameshot
|
||||
pkgs-unstable.gradia
|
||||
crystal
|
||||
shards
|
||||
moreutils
|
||||
@@ -78,6 +78,7 @@
|
||||
pkgs-unstable.feishin
|
||||
openscad
|
||||
pkgs-unstable.walker
|
||||
pkgs-unstable.shairport-sync-airplay2
|
||||
(writeShellScriptBin "pw" ''
|
||||
${lib.getExe rbw} ls --fields 'id,folder,name' | \
|
||||
${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \
|
||||
@@ -89,6 +90,8 @@
|
||||
(writeShellScriptBin "nr" ''
|
||||
${lib.getExe nix} run "nixpkgs#''${1}" "$@"
|
||||
'')
|
||||
pkgs-unstable.tidal-hifi
|
||||
inputs.tonearm.packages.${pkgs.stdenv.hostPlatform.system}.tonearm
|
||||
];
|
||||
|
||||
programs = {
|
||||
@@ -167,12 +170,12 @@
|
||||
vivaldi.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
aliases = {
|
||||
st = "status";
|
||||
co = "checkout";
|
||||
b = "branch";
|
||||
};
|
||||
extraConfig = {
|
||||
settings = {
|
||||
alias = {
|
||||
st = "status";
|
||||
co = "checkout";
|
||||
b = "branch";
|
||||
};
|
||||
pull = {
|
||||
rebase = "true";
|
||||
};
|
||||
@@ -271,13 +274,19 @@
|
||||
obs-studio.enable = true;
|
||||
ssh = {
|
||||
enable = true;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "1h";
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
"*" = {
|
||||
extraOptions = {
|
||||
ControlPath = "${config.home.homeDirectory}/.ssh/masters-control/%r@%h:%p";
|
||||
};
|
||||
controlMaster = "auto";
|
||||
controlPath = "${config.home.homeDirectory}/.ssh/masters-control/%r@%h:%p";
|
||||
controlPersist = "1h";
|
||||
forwardAgent = false;
|
||||
addKeysToAgent = "no";
|
||||
compression = false;
|
||||
serverAliveInterval = 0;
|
||||
serverAliveCountMax = 3;
|
||||
hashKnownHosts = false;
|
||||
userKnownHostsFile = "${config.home.homeDirectory}/.ssh/known_hosts";
|
||||
setEnv = {
|
||||
TERM = "screen-256color";
|
||||
};
|
||||
@@ -397,8 +406,8 @@
|
||||
custom = [
|
||||
{
|
||||
binding = "Print";
|
||||
command = "flameshot gui";
|
||||
name = "Flameshot";
|
||||
command = "gradia --screenshot";
|
||||
name = "Gradia";
|
||||
}
|
||||
{
|
||||
binding = "<Alt>Print";
|
||||
@@ -557,6 +566,23 @@
|
||||
pinentry.package = pinentry-gnome3;
|
||||
};
|
||||
|
||||
systemd.user.services.shairport-sync = {
|
||||
Unit = {
|
||||
Description = "AirPlay audio server";
|
||||
After = [
|
||||
"pipewire-pulse.service"
|
||||
"network.target"
|
||||
];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${lib.getExe pkgs-unstable.shairport-sync-airplay2} -- pw";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.gpg.scdaemonSettings = {
|
||||
disable-ccid = true;
|
||||
};
|
||||
@@ -564,17 +590,12 @@
|
||||
programs.rbw.enable = true;
|
||||
programs.rclone.enable = true;
|
||||
|
||||
xdg.configFile."autostart/gnome-keyring-ssh.desktop".text = lib.strings.concatLines [
|
||||
(builtins.readFile "${pkgs.gnome-keyring}/etc/xdg/autostart/gnome-keyring-ssh.desktop")
|
||||
"X-GNOME-Autostart-enabled=false"
|
||||
];
|
||||
|
||||
xdg.configFile."opencode/opencode.jsonc".text = builtins.toJSON {
|
||||
"$schema" = "https://opencode.ai/config.json";
|
||||
model = "opencode/claude-sonnet-4-5";
|
||||
small_model = "opencode/claude-haiku-4-5";
|
||||
model = "opencode/kimi-k2.5";
|
||||
small_model = "opencode/minimax-m2.1";
|
||||
agent = {
|
||||
plan.model = "opencode/claude-haiku-4-5";
|
||||
explore.model = "opencode/minimax-m2.1";
|
||||
};
|
||||
mcp = {
|
||||
memory = {
|
||||
|
||||
Reference in New Issue
Block a user