home: migrate git config to settings format and add new packages

This commit is contained in:
Joakim Repomaa
2026-02-09 15:11:13 +02:00
parent ac61399a18
commit 8823354606
3 changed files with 55 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, pkgs-unstable, ... }:
let
homeDirectory = "/home/moco";
in
@@ -21,11 +21,12 @@ in
--add-flags "--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer"
'';
}))
pkgs-unstable.chromedriver
kooha
gnome-pomodoro
mitmproxy
(writeShellScriptBin "moco-admin-pw" ''
password=$(op item get fkj74ou6jfex7a6gcinac6o5oe --reveal --fields label=Kennwort)
password=$(op item get n5h4c237tqnnlr5gruxyqmmggy --reveal --fields label=Kennwort)
otp=$(ykman oath accounts code -s 'MOCO:Admin')
echo "''${password}''${otp}" | wl-copy -n
'')
@@ -69,7 +70,7 @@ in
};
};
programs.git.extraConfig.user.email = "joakim.repomaa@mocoapp.com";
programs.git.settings.user.email = "joakim.repomaa@mocoapp.com";
programs.ssh.matchBlocks =
let