chore: apply lints
This commit is contained in:
parent
ec1b31cabc
commit
2411c0b496
16 changed files with 42 additions and 47 deletions
|
@ -3,6 +3,5 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
}: {
|
||||
}
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
}: {
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit (pkgs) fuzzel;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ in {
|
|||
http_port = port;
|
||||
|
||||
root_url = "https://${domain}";
|
||||
domain = domain;
|
||||
inherit domain;
|
||||
enforce_domain = true;
|
||||
};
|
||||
database = {
|
||||
|
|
|
@ -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");
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
}: {
|
||||
networking = {
|
||||
# use nftables over iptables
|
||||
nftables.enable = true;
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
in {
|
||||
}: {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue