nix-powered config, v3
etc | ||
host | ||
media | ||
script | ||
common.nix | ||
flake.lock | ||
flake.nix | ||
justfile | ||
niri.nix | ||
README.md |
Home-manager configuration
You need to have pipewire and the gnome desktop portal installed too for niri to work.
Manual steps
First, Nix needs to be installed on the system.
Run this to set up the graphics:
just install-drivers
Then, one should be able to switch to the new config:
just switch "$(cat /etc/hostname)"
On alpine, Niri should be started as follows:
dbus-run-session -- niri --session
Key remapping
On lime, we remap the windows key to menu with keyd
so
that we can use that to launch the overview with a single
keystroke.
For that, put the following in /etc/keyd/default.conf
:
[ids]
*
[main]
meta = overload(meta, menu)
capslock = overload(meta, oneshot(meta))