added hmu command
This commit is contained in:
parent
4fd65dc38c
commit
cae0188317
27
home.nix
27
home.nix
|
@ -22,6 +22,7 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; };
|
|||
pwgen
|
||||
evolution
|
||||
srain
|
||||
dconf2nix
|
||||
inkscape
|
||||
flare-signal
|
||||
neovide
|
||||
|
@ -94,6 +95,21 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; };
|
|||
# fish config
|
||||
fish_greeting = "✨ heya ${config.home.username}, welcome to $(hostnamectl --pretty) ~";
|
||||
};
|
||||
#configure dconf
|
||||
dconf.settings = {
|
||||
"org/gnome/mutter".center-new-windows = true;
|
||||
"org/gnome/desktop/sound".allow-volume-above-100-percent = true;
|
||||
"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"
|
||||
= {
|
||||
binding = "<Super>t";
|
||||
command = "wezterm";
|
||||
name = "Wezterm";
|
||||
};
|
||||
};
|
||||
|
||||
# configure programs
|
||||
programs.firefox = { #add options later
|
||||
|
@ -212,6 +228,15 @@ with import ./modules/neovim-config.nix { inherit pkgs lib fromGitHub; };
|
|||
pf = "sudo ping -f -c 100 -A 1.1.1.1";
|
||||
};
|
||||
functions = {
|
||||
hmu = ''
|
||||
set -l hm_before_commit $PWD
|
||||
cd ~/.config/home-manager/
|
||||
git diff
|
||||
git add .
|
||||
git commit
|
||||
git push
|
||||
cd $hm_before_commit
|
||||
'';
|
||||
ng = ''
|
||||
set NG ~/.ssh/ng/
|
||||
if test \( -e $NG/0 \) -a \( -e $NG/1 \)
|
||||
|
@ -261,7 +286,7 @@ fish_vi_key_bindings
|
|||
};
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue