Add "input" to your user's extraGroups in configuration.nix:
users.users.yourname = {
isNormalUser = true;
extraGroups = [ "wheel" "input" ];
};Then rebuild and reboot:
sudo nixos-rebuild switch
sudo rebootAfter reboot:
git clone --recursive https://github.com/avitran0/deadlocked
cd deadlocked
direnv allow
cargo run --releaseIf maps parsing fails, run (it will use Source2Viewer provided by nix direnv instead of one in resources):
cargo run --release -- --local-s2vEverything is configured in flake.nix and nix/shell.nix.
grep -E '^input:' /usr/lib/group | sudo tee -a /etc/group && sudo usermod -aG input $USER
# Restart your machine (required)
git clone --recursive https://github.com/avitran0/deadlocked
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh