chore: apply lints

This commit is contained in:
Bloxx12 2025-07-08 13:57:04 +02:00
commit 2411c0b496
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
16 changed files with 42 additions and 47 deletions

View file

@ -23,7 +23,7 @@ inputs: let
inherit inputs;
inherit self;
}
(args.specialArgs or {});
args.specialArgs or {};
modules = concatLists [
# This is used to pre-emptively set the hostPlatform for nixpkgs.
# Also, we set the system hostname here.

View file

@ -9,21 +9,23 @@
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "uk";
security.polkit.enable = true;
programs.nix-ld.enable = false;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
services = {
fstrim.enable = lib.mkDefault true;
thermald.enable = true;
};
programs.zsh = {
enable = true;
enableBashCompletion = true;
programs = {
nix-ld.enable = false;
zsh = {
enable = true;
enableBashCompletion = true;
};
gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-qt;
};
};
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-qt;
};
modules = {
wms.wayland.enable = true;
desktops.hyprland.enable = false;

View file

@ -6,10 +6,12 @@
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
boot = {
initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "sd_mod"];
initrd.kernelModules = [];
kernelModules = [];
extraModulePackages = [];
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -60,7 +60,7 @@
# 1:1 taken from raf's custom kernel, check out his config for this.
.overrideAttrs (oa: {
prePatch =
(oa.prePatch or "")
oa.prePatch or ""
+ ''
# bragging rights
echo "Replacing localversion with custom suffix"

View file

@ -7,10 +7,12 @@
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "virtio_scsi" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
boot = {
initrd.availableKernelModules = ["xhci_pci" "virtio_scsi" "sr_mod"];
initrd.kernelModules = [];
kernelModules = [];
extraModulePackages = [];
};
swapDevices = [];