more games, fix helix, bluetooth

This commit is contained in:
tristan 2023-06-28 08:39:18 +01:00
parent a18f813eb3
commit daa782bb53
4 changed files with 46 additions and 35 deletions

View file

@ -43,6 +43,7 @@ in
swww
neofetch
obs-studio
selectdefaultapplication
inkscape
libsForQt5.okular
@ -99,7 +100,7 @@ in
extraConfig = ''
## global hyprland configuration
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,xcb
env = QT_QPA_PLATFORM,wayland;xcb
env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
@ -199,6 +200,10 @@ in
mfact = 0.7
new_on_top = yes
}
misc {
vrr = 2
}
'';
};
@ -504,29 +509,26 @@ in
programs.helix = {
enable = true;
languages = [
{
name = "nix";
languages = {
nix = {
auto-format = true;
language-server = {
command = "${pkgs.rnix-lsp}/bin/rnix-lsp";
};
}
{
name = "go";
};
go = {
auto-format = true;
language-server = {
command = "${pkgs.gopls}/bin/gopls";
};
}
{
name = "tsx";
};
typescript = {
auto-format = true;
language-server = {
command = "${pkgs.nodePackages.typescript-language-server}/bin/typescript-language-server";
};
}
];
};
};
};
programs.neomutt.extraConfig = ''

View file

@ -41,7 +41,7 @@
# kde connect
networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
networking.firewall.interfaces.tailscale0 = {
allowedTCPPortRanges = [{ from = 0; to = 65535; }];
};
@ -64,7 +64,6 @@
};
};
i18n.defaultLocale = "en_GB.UTF-8";
services.xserver = {
@ -167,5 +166,8 @@
services.tlp.enable = true;
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}