Disable avante; fix treesitter config
This commit is contained in:
31
hosts/aspire-laptop/configuration.nix
Normal file → Executable file
31
hosts/aspire-laptop/configuration.nix
Normal file → Executable 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";
|
||||
|
||||
Reference in New Issue
Block a user