| 9 Dec 2024 |
| Hans van Zijst joined the room. | 17:28:14 |
| 10 Dec 2024 |
steveej | i'm using remmina or gnome-connections to RDP into a windows 2019 server, and the keyboard layout seems to map incorrectly. tried all the mapping settings in remmina with no luck. is this potentially an issue with our configuration of freerdp? | 09:19:13 |
steveej | could be this: https://github.com/NixOS/nixpkgs/issues/325928 | 09:20:31 |
steveej | which has reports of non-nixpkgs remmina also behaving the same | 09:20:45 |
ice9 | Does anyone here has any experience running SMACK MAC on nixos? | 10:23:01 |
ice9 | it's far simpler than SELinux, but somehow I don't see or hear much about SMACK | 10:23:54 |
Scrumplex | Redacted or Malformed Event | 10:34:06 |
| 11 Dec 2024 |
| @dminca:matrix.org left the room. | 14:18:59 |
| kat ⛧ they/them joined the room. | 19:24:22 |
| Benedikt joined the room. | 21:22:18 |
| @lars:familie-vogdt.de left the room. | 22:31:03 |
| 12 Dec 2024 |
| mrtni joined the room. | 06:24:06 |
| gagandeepb joined the room. | 07:48:02 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 14:34:50 |
| 13 Dec 2024 |
| bunbun joined the room. | 09:08:35 |
bunbun | hello all, i was wondering if anyone knows of a way to use ccache for kernel builds? currently my build takes almost 3 hours for one tiny patch and it's kind of a problem. i've done some looking and tried some different things i found but none of them worked | 09:12:51 |
K900 | ccache doesn't really work well with Nix | 09:13:40 |
K900 | What is your patch for? | 09:13:43 |
bunbun | a very stupid thing | 09:13:56 |
bunbun | diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c
index d19c78a78ae3..8c87d66bd4b6 100644
--- a/drivers/firmware/dmi-id.c
+++ b/drivers/firmware/dmi-id.c
@@ -19,6 +19,17 @@ struct dmi_device_attribute{
#define to_dmi_dev_attr(_dev_attr) \
container_of(_dev_attr, struct dmi_device_attribute, dev_attr)
+void apply_twinkpad_replacement(char* str)
+{
+ static const char thinkpadstr[] = "thinkpad";
+ while (*str) {
+ if (!strncasecmp(str, thinkpadstr, sizeof(thinkpadstr) - 1)) {
+ str[1] ^= 'H' ^ 'W';
+ }
+ ++str;
+ }
+}
+
static ssize_t sys_dmi_field_show(struct device *dev,
struct device_attribute *attr,
char *page)
@@ -26,6 +37,7 @@ static ssize_t sys_dmi_field_show(struct device *dev,
int field = to_dmi_dev_attr(attr)->field;
ssize_t len;
len = scnprintf(page, PAGE_SIZE, "%s\n", dmi_get_system_info(field));
+ apply_twinkpad_replacement(page);
page[len-1] = '\n';
return len;
}
| 09:14:20 |
K900 | I assume "have you considered not doing that" isn't useful then, is it | 09:16:05 |
bunbun | i think it's worth it, but that's just me | 09:16:54 |
K900 | You could also try changing the string that's actually reported by the firmware | 09:20:17 |
K900 | Using e.g. https://www.ami.com/bios-uefi-utilities/ | 09:20:21 |
bunbun | oh interesting, that's not something i've seen before | 09:21:12 |
| Christian Theune joined the room. | 12:52:26 |
| Ben Sparks joined the room. | 13:32:22 |
ElvishJerricco | I used this a long time ago. There's a couple of settings that are important there. https://gist.github.com/ElvishJerricco/152c4e7dbffabe7cee2e3a421ccf47ef | 14:17:26 |
ElvishJerricco | IIRC some of the env variables are necessary for cache hits | 14:17:51 |
ElvishJerricco | otherwise it barely helps | 14:17:56 |