add bash_local
This commit is contained in:
parent
0f829f829a
commit
4e11013aa7
2 changed files with 13 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
12
home/common/files/bash/bash_local
Normal file
12
home/common/files/bash/bash_local
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue