revamp of structure

This commit is contained in:
strix 2026-08-26 03:57:23 +02:00
parent 275586f9c2
commit b5365e6ab3
26 changed files with 383 additions and 393 deletions

View file

@ -0,0 +1,9 @@
{ ... }:
{
programs.git = {
enable = true;
settings = {
init = { defaultBranch = "main"; };
};
};
}

View file

@ -0,0 +1,15 @@
{ ... }: {
dconf.settings = {
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
name = "terminal";
command = "ghostty";
binding = "<Super>Return";
};
};
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
home.file.".cargo/config.toml".text = ''
[target.'cfg(target_os = "linux")']
linker = "${pkgs.clang}/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold-wrapped}/bin/mold"]
'';
}

View file

@ -0,0 +1,13 @@
{ username, ... }:
{
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
theme = "nanotech";
};
sessionVariables = {
SSH_AUTH_SOCK = "/home/${username}/.bitwarden-ssh-agent.sock";
};
};
}