You can see the details of the layout here
This flake can be also used to easily configure your own magic layout
This enables the psilocybin layout on your NixOS system
description = "Your NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
psilocybin = {
url = "github:nyawox/psilocybin";
# Recommended to not clutter your flake.lock
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, psilocybin, ...}: {
nixosConfigurations = {
yourHost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# This is not a complete configuration and you need to reference
# your normal configuration here.
# Import the module
psilocybin.nixosModules.psilocybin
({
psilocybin = {
enable = true;
# ansi.enable = true;
# jis.enable = true;
};
})
];
};
};
};
}
Visit here for examples of how to configure your layout.
Ensure you set psilocybin.ansi.config
for layers,
psilocybin.config
for aliases and chords,
as well as psilocybin.magic.rules
and psilocybin.magic.rptRules
for your custom magic rules.
Use psilocybin.magic.rptRules
for magic rules that activate via repeat keys.