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

@ -3,6 +3,5 @@
lib,
pkgs,
...
}: let
in {
}: {
}

View file

@ -3,8 +3,7 @@
lib,
pkgs,
...
}: let
in {
}: {
environment.systemPackages = builtins.attrValues {
inherit (pkgs) fuzzel;
};

View file

@ -53,7 +53,7 @@
# The value clipboard will always copy text to the selection clipboard as well as the system clipboard.
copy-on-select = "clipboard";
shell-integration = shell-integration;
inherit shell-integration;
command = getExe package;
};

View file

@ -29,7 +29,7 @@ in {
http_port = port;
root_url = "https://${domain}";
domain = domain;
inherit domain;
enforce_domain = true;
};
database = {

View file

@ -12,19 +12,12 @@ in {
config = mkIf cfg.enable {
services.kanata = {
enable = true;
keyboards.daskeyboard = {
devices = ["/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd"];
config = builtins.readFile (./. + "/main.kbd");
};
keyboards.laptop = {
devices = ["/dev/input/by-path/platform-i8042-serio-0-event-kbd"];
config = builtins.readFile (./. + "/main.kbd");
};
keyboards.dell-keyboard = {
devices = ["/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd"];
keyboards.main = {
devices = [
"/dev/input/by-id/usb-Metadot_-_Das_Keyboard_Das_Keyboard-event-kbd"
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
"/dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd"
];
config = builtins.readFile (./. + "/main.kbd");
};
};

View file

@ -54,7 +54,7 @@ in {
efi.canTouchEfiVariables = true;
timeout = mkDefault cfg.timeout;
systemd-boot = {
enable = cfg.systemd-boot.enable;
inherit (cfg.systemd-boot) enable;
# INFO: Leaving this enabled is a security vulneratibility,
# since we can just start /bin/sh from there and get root access.
# Since I have FDE, this isn't _as_ critical, but it would still be
@ -64,7 +64,7 @@ in {
configurationLimit = 5;
};
grub = {
enable = cfg.grub.enable;
inherit (cfg.grub) enable;
efiSupport = true;
device = "nodev";
configurationLimit = 5;

View file

@ -3,8 +3,7 @@
lib,
pkgs,
...
}: let
in {
}: {
networking = {
# use nftables over iptables
nftables.enable = true;

View file

@ -3,6 +3,5 @@
lib,
pkgs,
...
}: let
in {
}: {
}