Fix waringings

This commit is contained in:
muon 2026-03-08 10:28:46 +00:00
parent 399417d93a
commit 6c635de326
6 changed files with 11 additions and 4 deletions

View file

@ -10,6 +10,8 @@ in {
mods.xdg.enable = true;
mods.social.enable = true;
mods.i3.enable = true;
mods.terminal.wezterm.enable = true;
mods.terminal.nushell.enable = true;
mods.terminal.zsh.enable = true;
mods.terminal.emulator.enable = true;
mods.terminal.development.enable = true;
@ -71,8 +73,10 @@ in {
# SSH: auto-add work key to gpg-agent on first use
programs.ssh = {
enable = true;
matchBlocks."*" = {
identityFile = "~/.ssh/work_ed25519";
addKeysToAgent = "yes";
matchBlocks."*".identityFile = "~/.ssh/work_ed25519";
};
matchBlocks."muho".identityFile = "~/.ssh/id_ed25519";
};

View file

@ -62,7 +62,7 @@
{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt-classic}/bin/nixfmt";
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}
{
name = "rust";

View file

@ -18,7 +18,7 @@ in {
format = "on $output ";
};
programs.zsh.initExtra =
programs.zsh.initContent =
''
export MK2_TEST_SQL_INSTANCE_USER=gijs
export MK2_TEST_SQL_INSTANCE_PASSWORD="$(cat ${config.sops.secrets.google-db-test.path})"

View file

@ -23,6 +23,7 @@ in {
programs.zsh = lib.mkIf cfg.zsh.enable {
enable = true;
dotDir = "${config.xdg.configHome}/zsh";
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;

View file

@ -5,6 +5,7 @@ in with lib; {
config = mkIf cfg.tools.enable {
programs.yazi = {
enable = true;
shellWrapperName = "y";
settings = {
manager = {
ratio = [ 1 4 3 ];

View file

@ -22,5 +22,6 @@ in
xdg.portal.extraPortals = [
pkgs.xdg-desktop-portal
];
xdg.portal.config.common.default = "*";
};
}