From 62293787b95a62850f418ff78770765cfa285a91 Mon Sep 17 00:00:00 2001 From: reonokiy Date: Fri, 27 Sep 2024 22:44:25 +0800 Subject: [PATCH] update --- dot_config/code-flags.conf | 1 - dot_config/electron-flags.conf | 2 ++ dot_config/nix/nix.conf | 1 + dot_zshrc.tmpl | 4 +++- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 dot_config/electron-flags.conf create mode 100644 dot_config/nix/nix.conf diff --git a/dot_config/code-flags.conf b/dot_config/code-flags.conf index 51bdd86..8f3fadc 100644 --- a/dot_config/code-flags.conf +++ b/dot_config/code-flags.conf @@ -1,2 +1 @@ ---enable-features=UseOzonePlatform --ozone-platform=wayland diff --git a/dot_config/electron-flags.conf b/dot_config/electron-flags.conf new file mode 100644 index 0000000..fdbe2c0 --- /dev/null +++ b/dot_config/electron-flags.conf @@ -0,0 +1,2 @@ +--enable-features=WaylandWindowDecorations +--ozone-platform-hint=wayland diff --git a/dot_config/nix/nix.conf b/dot_config/nix/nix.conf new file mode 100644 index 0000000..c7d7291 --- /dev/null +++ b/dot_config/nix/nix.conf @@ -0,0 +1 @@ +experimental-features = nix-command flakes diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 7dd4957..7ffbe29 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -188,6 +188,9 @@ if command -v hub &> /dev/null; then alias hub="op run -- hub" fi +if command -v paru &> /dev/null; then + alias pru=paru +fi alias f=fuck alias v=nvim alias dotfiles='chezmoi' @@ -235,6 +238,5 @@ alias i='ya ~/i' alias ssh="ssh.exe" {{- else -}} # linux spec config -export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock {{- end -}} {{- end}}