| 14 May 2024 |
mewp | okay, are you configuring your system using flakes? | 12:16:48 |
Thatoo | yes | 12:18:02 |
mewp | all right, then you have a nixosConfiguration with all the settings | 12:18:34 |
Thatoo | a configuration.nix file, yes | 12:18:51 |
mewp | the settings don't have anything to do with flakes, just so you know | 12:18:54 |
mewp | anyway | 12:18:57 |
mewp | https://search.nixos.org/options?channel=23.11&show=services.xserver.xkb.extraLayouts&from=0&size=50&sort=relevance&type=packages&query=xkb | 12:18:59 |
mewp | this is probably the option you want to set | 12:19:12 |
mewp | just add the file to your flake repo, and the path to the file in the relevant place | 12:19:38 |
Thatoo | thank you | 12:37:32 |
Thatoo | services.xserver = {
layout = "fr";
xkbVariant = "";
xkb.extraLayouts = {
mine = {
description = "ergol xkb layout.";
languages = [ "fr-ergol" ];
symbolsFile = /path/to/file/ergol.xkb_custom;
};
};
};
should work? Do I need to reboot or logout/login?
| 12:42:04 |
mewp | layout should probably be mine | 12:43:49 |
mewp | and the path relative (because the flake cannot access anything outside it) | 12:44:24 |
mewp | do a nixos-rebuild switch and then restart the x server | 12:45:03 |
mewp | that being said—I don't know anything about these options, I'm just speculating | 12:45:25 |
Thatoo | thanks | 12:49:10 |
| chrillefkrr joined the room. | 15:43:15 |
| @ajustinlime:matrix.org joined the room. | 20:11:33 |
| @ajustinlime:matrix.org left the room. | 22:44:55 |
| 15 May 2024 |
| raghavsood joined the room. | 08:27:41 |
| raghavsood set a profile picture. | 08:38:26 |
Thatoo | mewpjust to let you know that I'm typing with this ergol.xkb_custom keaybord layout. It has work exactly as you said. After a logout/login, I could choose and use it.
Thank you.
| 14:44:56 |
| @fomosapien:matrix.org changed their display name from Triskelion (AFK) to Triskelion. | 14:45:25 |
mewp | happy I could help | 14:46:12 |
| 17 May 2024 |
woobilicious | how would I do the equivent of nix build 'nixpkg/<commit>#pkg but on a local clone? ./<commit>#pkg obviously doens't work. | 09:03:11 |
woobilicious | even better if I could do HEAD~1 | 09:05:48 |
| @alex3829:matrix.org left the room. | 13:11:19 |
samasaur | i think it's nix build '.?rev=<commit>#pkg' | 17:49:29 |
| 18 May 2024 |
| @erazemk:matrix.org left the room. | 17:15:22 |
| 20 May 2024 |
| @northben:pixelchef.net joined the room. | 20:33:14 |