Compare commits

...

2 commits

Author SHA1 Message Date
Geoffrey Frogeye bafb22c573
Smol fixes 2024-06-30 23:01:09 +02:00
Geoffrey Frogeye dd2e510473
pindakaas: Remove no longer needed kernel argument
Maybe new kernel don't need it.
Or it has to do with using systemd for boot.
2024-06-30 20:55:51 +02:00
3 changed files with 7 additions and 7 deletions

View file

@ -30,8 +30,8 @@ class Desk:
# CBD4+5 Configurator # CBD4+5 Configurator
# https://www.linak.nl/technische-ondersteuning/#/cbd4-cbd6s-configurator # https://www.linak.nl/technische-ondersteuning/#/cbd4-cbd6s-configurator
# Connects, report software number and version # Connects, and settings can be changed.
# All setting values are suspiciously 0 though # Don't think there's much that would help with our problem.
# Decompiled with Ghidra (hard), didn't go super far # Decompiled with Ghidra (hard), didn't go super far
VEND = 0x12D3 VEND = 0x12D3
@ -254,10 +254,12 @@ if __name__ == "__main__":
device_info = ha_mqtt_discoverable.DeviceInfo( device_info = ha_mqtt_discoverable.DeviceInfo(
name="Desk", name="Desk",
identifiers="device_id",
manufacturer="Linak", manufacturer="Linak",
model="CBD4P", model="CBD4P",
suggested_area="Desk", suggested_area="Desk",
hw_version="77402",
sw_version="1.91",
serial_number="000C-34E7",
) )
ndigits = 1 ndigits = 1

View file

@ -131,6 +131,7 @@
yt = youtube; yt = youtube;
}; };
settings = { settings = {
colors.webpage.darkmode.policy.images = "never"; # No inverting images in dark mode, is ugly
downloads.location.prompt = false; downloads.location.prompt = false;
tabs = { tabs = {
show = "never"; show = "never";
@ -148,6 +149,7 @@
prefers_reduced_motion = true; prefers_reduced_motion = true;
headers.accept_language = "fr-FR, fr;q=0.9, en-GB;q=0.8, en-US;q=0.7, en;q=0.6"; headers.accept_language = "fr-FR, fr;q=0.9, en-GB;q=0.8, en-US;q=0.7, en;q=0.6";
tls.certificate_errors = "ask-block-thirdparty"; tls.certificate_errors = "ask-block-thirdparty";
javascript.clipboard = "access"; # copy-paste is fine
}; };
editor.command = [ "${pkgs.neovide}/bin/neovide" "--" "-f" "{file}" "-c" "normal {line}G{column0}l" ]; editor.command = [ "${pkgs.neovide}/bin/neovide" "--" "-f" "{file}" "-c" "normal {line}G{column0}l" ];
# TODO Doesn't work on Arch. Does it even load the right profile on Nix? # TODO Doesn't work on Arch. Does it even load the right profile on Nix?

View file

@ -5,10 +5,6 @@
# nixos-hardware use latest kernel by default. It has been set a while ago, we maybe don't need it anymore? # nixos-hardware use latest kernel by default. It has been set a while ago, we maybe don't need it anymore?
kernelPackages = pkgs.linuxPackages; kernelPackages = pkgs.linuxPackages;
# Otherwise it will not show stage1 echo and prompt
# UPST
kernelParams = [ "console=tty0" ];
# EFI Variables don't seem to work (no generation appear in systemd-boot with SD) # EFI Variables don't seem to work (no generation appear in systemd-boot with SD)
loader.efi.canTouchEfiVariables = false; loader.efi.canTouchEfiVariables = false;
}; };