moved to foot terminal

This commit is contained in:
Snorre Ettrup Altschul 2025-01-21 15:13:39 +01:00
parent 8b1c25a579
commit dbefb96cb9
5 changed files with 21 additions and 7 deletions

View file

@ -1,5 +1,8 @@
# If your nix config is so great why isn't there a nix config tw-
Second iteration of my nix config. Got tired of the old one not quite working how i liked on my desktop (mainly impermanence not working without disk encryption enaled)
## AAAAAa
dont use this. *yet*
## TODO
- Fix cursor being twice as big in xwayland (shouldnt tylix fix this?)
- Fix waybar just, not showing up, at all.
- Fix impermanence for non-luks systems
-

View file

@ -108,6 +108,8 @@
obs-studio
vial
path-of-building
]);
# Mount 2tb harddisk

9
modules/programs/foot.nix Executable file
View file

@ -0,0 +1,9 @@
{ ... }:
{
programs.foot.enable = true;
home.sessionVariables.TERM = "alacritty";
home.sessionVariables.TERMINAL = "alacritty";
home.sessionVariables.TERMCMD = "alacritty";
}

View file

@ -1,14 +1,14 @@
{ monitors ? []
, border-radius ? 0
}:
{ lib, pkgs, inputs, ... } @ params:
{ lib, pkgs, inputs, config, ... } @ params:
{
imports = [
./exec.nix
./env.nix
];
programs.alacritty.enable = lib.mkDefault true;
# programs.alacritty.enable = lib.mkDefault true;
wayland.windowManager.hyprland =
let
@ -100,7 +100,7 @@
"$mod" = "super";
bind = [
"$mod, Return, exec, alacritty"
"$mod, Return, exec, ${config.home.sessionVariables.TERMCMD}"
"$mod, C, killactive"
"$mod, V, togglefloating"
"$mod, G, fullscreen"

View file

@ -5,9 +5,9 @@
# "LIBVA_DRIVER_NAME,nvidia"
"LIBVA_DRIVER_NAME,iHD"
"XDG_SESSION_TYPE,wayland"
"GBM_BACKEND,wayland"
# "GBM_BACKEND,wayland"
"GTK_USE_PORTAL,1"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,amdgpu"
"QT_QPA_PLATFORM,wayland"
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_DESKTOP,Hyprland"