revamp of structure
This commit is contained in:
parent
275586f9c2
commit
b5365e6ab3
26 changed files with 383 additions and 393 deletions
9
modules/home-manager/git.nix
Normal file
9
modules/home-manager/git.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
init = { defaultBranch = "main"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
15
modules/home-manager/gnome.nix
Normal file
15
modules/home-manager/gnome.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
8
modules/home-manager/mold.nix
Normal file
8
modules/home-manager/mold.nix
Normal 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"]
|
||||
'';
|
||||
}
|
||||
13
modules/home-manager/zsh.nix
Normal file
13
modules/home-manager/zsh.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue