!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

609 Members
121 Servers

Load older messages


SenderMessageTime
14 May 2024
@mewp:nurupo.pl@mewp:nurupo.plthis is probably the option you want to set12:19:12
@mewp:nurupo.pl@mewp:nurupo.pljust add the file to your flake repo, and the path to the file in the relevant place12:19:38
@thatoo:matrix.orgThatoothank you12:37:32
@thatoo:matrix.orgThatoo
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:nurupo.pl@mewp:nurupo.pl layout should probably be mine 12:43:49
@mewp:nurupo.pl@mewp:nurupo.pland the path relative (because the flake cannot access anything outside it)12:44:24
@mewp:nurupo.pl@mewp:nurupo.pl do a nixos-rebuild switch and then restart the x server 12:45:03
@mewp:nurupo.pl@mewp:nurupo.plthat being said—I don't know anything about these options, I'm just speculating12:45:25
@thatoo:matrix.orgThatoothanks12:49:10
@chrillefkrr:matrix.orgchrillefkrr joined the room.15:43:15
@ajustinlime:matrix.org@ajustinlime:matrix.org joined the room.20:11:33
@ajustinlime:matrix.org@ajustinlime:matrix.org left the room.22:44:55
15 May 2024
@raghavsood:matrix.orgraghavsood joined the room.08:27:41
@raghavsood:matrix.orgraghavsood set a profile picture.08:38:26
@thatoo:matrix.orgThatoo

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@fomosapien:matrix.org changed their display name from Triskelion (AFK) to Triskelion.14:45:25
@mewp:nurupo.pl@mewp:nurupo.plhappy I could help14:46:12
17 May 2024
@woobilicious:matrix.orgwoobilicious 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:matrix.orgwoobilicious even better if I could do HEAD~1 09:05:48
@alex3829:matrix.org@alex3829:matrix.org left the room.13:11:19
@samasaur:matrix.orgsamasaur i think it's nix build '.?rev=<commit>#pkg' 17:49:29
18 May 2024
@erazemk:matrix.org@erazemk:matrix.org left the room.17:15:22
20 May 2024
@northben:pixelchef.net@northben:pixelchef.net joined the room.20:33:14
@daschw:matrix.org@daschw:matrix.org left the room.20:49:46
@alx_sim:matrix.org@alx_sim:matrix.org left the room.22:39:18
21 May 2024
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+8) to bumperboat (UTC+7).04:34:22
@jalaziz:matrix.orgjalaziz joined the room.05:05:15
@jalaziz:matrix.orgjalaziz

I'm switching from shell.nix to Flakes. With shell.nix, I could use nix-build to effectively build the derivation and store it.

With Flakes, it seems like I can do nix build ".#devShells.aarch64-darwin.default", but I need the system which is not very convenient. Is there an equally simple way to pre-build the derivation without having to specify the system and without dropping into a shell?

05:07:47
@gsaurel:laas.frnim65s jalaziz: https://github.com/nix-community/nix-direnv is a solution for that I think 10:44:45
@tanja:catgirl.cloudTanja (she/her) joined the room.11:34:51

Show newer messages


Back to Room ListRoom Version: 6