add bash_local

This commit is contained in:
Don Harper 2024-06-16 23:06:28 -05:00
parent 0f829f829a
commit 4e11013aa7
2 changed files with 13 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
imports = [ ./bash_complition.nix ];
home.file.".bash_local".source = files/bash/bash_local;
home.file.".bash_aliases".source = files/bash/bash_aliases;
home.file.".bash_functions".source = files/bash/bash_functions;
home.file.".bash_hosts".source = files/bash/bash_hosts;

View file

@ -0,0 +1,12 @@
. ~/.bash_ssh
#export TZ=America/Chicago
if [[ "$(tty)" = "/dev/tty1" ]]
then
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export MOZ_ENABLE_WAYLAND=1
export NIXOS_OZONE_WL=1
systemd-cat --identifier=sway sway
exit
fi