Compare commits

..

No commits in common. "bafb22c573e54b45c27bfd24187808a2d13abb11" and "ce516fffe9f83ebc508d36629b74cf5dc1ddf749" have entirely different histories.

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, and settings can be changed. # Connects, report software number and version
# Don't think there's much that would help with our problem. # All setting values are suspiciously 0 though
# Decompiled with Ghidra (hard), didn't go super far # Decompiled with Ghidra (hard), didn't go super far
VEND = 0x12D3 VEND = 0x12D3
@ -254,12 +254,10 @@ 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,7 +131,6 @@
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";
@ -149,7 +148,6 @@
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,6 +5,10 @@
# 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;
}; };