Disable avante; fix treesitter config

This commit is contained in:
sam
2026-01-09 20:04:11 +11:00
parent 4a9426222a
commit 16f10fa7c5
38 changed files with 123 additions and 40 deletions

31
hosts/aspire-laptop/configuration.nix Normal file → Executable file
View File

@@ -1,10 +1,13 @@
{ pkgs, ... }:
let
tex = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-small latexmk;
};
in
{
imports = [
./hardware-configuration.nix
];
];
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
@@ -14,6 +17,8 @@
networking.hostName = "aspire-laptop";
networking.networkmanager.enable = true;
networking.nameservers = [ "1.1.1.1" "8.8.8.8" ];
time.timeZone = "Australia/Melbourne";
i18n.defaultLocale = "en_AU.UTF-8";
@@ -34,12 +39,23 @@
xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
xdg-desktop-portal-kde
pkgs.kdePackages.xdg-desktop-portal-kde
];
security.polkit.enable = true;
programs.dconf.enable = true;
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = true;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
services.libinput.enable = true;
services.pipewire.enable = true;
@@ -116,16 +132,15 @@
# Markdown / LaTeX (small)
pandoc
texlive.combined.scheme-small
latexmk
tex
zathura
zathura-pdf-mupdf
zathuraPkgs.zathura_pdf_mupdf
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 20;
boot.loader.efi.efiSysMountPoint="/boot/efi";
networking.firewall.enable = true;
system.stateVersion = "25.11";