Updates
This commit is contained in:
parent
e23366a24b
commit
51276d05fb
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, inputs, theme, lib, ... }: {
|
{ pkgs, theme, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./components
|
./components
|
||||||
./assets/waybar/scripts.nix
|
./assets/waybar/scripts.nix
|
||||||
|
@ -12,6 +12,9 @@
|
||||||
|
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
|
||||||
|
# Disable tmux on Hyprland
|
||||||
|
programs.bash.sessionVariables = { ENABLE_TMUX = "false"; };
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png;
|
image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png;
|
||||||
opacity = {
|
opacity = {
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
EDITOR=vim
|
EDITOR=vim
|
||||||
ssh-add > /dev/null &> /dev/null
|
ssh-add > /dev/null &> /dev/null
|
||||||
[ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;}
|
[[ -z "$TMUX" && "$ENABLE_TMUX" == "false" ]] && { tmux attach || exec tmux new-session && exit;}
|
||||||
'';
|
'';
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
# Set the GTK Theme
|
# Set the GTK Theme
|
||||||
|
|
Loading…
Reference in a new issue