mirror of
https://codeberg.org/muon/home.git
synced 2026-03-09 03:53:11 +00:00
Fix waringings
This commit is contained in:
parent
399417d93a
commit
6c635de326
6 changed files with 11 additions and 4 deletions
|
|
@ -10,6 +10,8 @@ in {
|
||||||
mods.xdg.enable = true;
|
mods.xdg.enable = true;
|
||||||
mods.social.enable = true;
|
mods.social.enable = true;
|
||||||
mods.i3.enable = true;
|
mods.i3.enable = true;
|
||||||
|
mods.terminal.wezterm.enable = true;
|
||||||
|
mods.terminal.nushell.enable = true;
|
||||||
mods.terminal.zsh.enable = true;
|
mods.terminal.zsh.enable = true;
|
||||||
mods.terminal.emulator.enable = true;
|
mods.terminal.emulator.enable = true;
|
||||||
mods.terminal.development.enable = true;
|
mods.terminal.development.enable = true;
|
||||||
|
|
@ -71,8 +73,10 @@ in {
|
||||||
# SSH: auto-add work key to gpg-agent on first use
|
# SSH: auto-add work key to gpg-agent on first use
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
addKeysToAgent = "yes";
|
matchBlocks."*" = {
|
||||||
matchBlocks."*".identityFile = "~/.ssh/work_ed25519";
|
identityFile = "~/.ssh/work_ed25519";
|
||||||
|
addKeysToAgent = "yes";
|
||||||
|
};
|
||||||
matchBlocks."muho".identityFile = "~/.ssh/id_ed25519";
|
matchBlocks."muho".identityFile = "~/.ssh/id_ed25519";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
{
|
{
|
||||||
name = "nix";
|
name = "nix";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter.command = "${pkgs.nixfmt-classic}/bin/nixfmt";
|
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "rust";
|
name = "rust";
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ in {
|
||||||
format = "on $output ";
|
format = "on $output ";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.initExtra =
|
programs.zsh.initContent =
|
||||||
''
|
''
|
||||||
export MK2_TEST_SQL_INSTANCE_USER=gijs
|
export MK2_TEST_SQL_INSTANCE_USER=gijs
|
||||||
export MK2_TEST_SQL_INSTANCE_PASSWORD="$(cat ${config.sops.secrets.google-db-test.path})"
|
export MK2_TEST_SQL_INSTANCE_PASSWORD="$(cat ${config.sops.secrets.google-db-test.path})"
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ in {
|
||||||
|
|
||||||
programs.zsh = lib.mkIf cfg.zsh.enable {
|
programs.zsh = lib.mkIf cfg.zsh.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
dotDir = "${config.xdg.configHome}/zsh";
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ in with lib; {
|
||||||
config = mkIf cfg.tools.enable {
|
config = mkIf cfg.tools.enable {
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
shellWrapperName = "y";
|
||||||
settings = {
|
settings = {
|
||||||
manager = {
|
manager = {
|
||||||
ratio = [ 1 4 3 ];
|
ratio = [ 1 4 3 ];
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,6 @@ in
|
||||||
xdg.portal.extraPortals = [
|
xdg.portal.extraPortals = [
|
||||||
pkgs.xdg-desktop-portal
|
pkgs.xdg-desktop-portal
|
||||||
];
|
];
|
||||||
|
xdg.portal.config.common.default = "*";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue