Skip to content

Instantly share code, notes, and snippets.

@lboklin
lboklin / hvm.kak
Last active February 14, 2022 11:50
Kakoune HVM filetype
# https://github.com/Kindelia/HVM
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# Detection
# ‾‾‾‾‾‾‾‾‾
hook global BufCreate .*[.](hvm) %{
set-option buffer filetype hvm
}
@lboklin
lboklin / alderon-games-launcher.nix
Last active January 15, 2022 19:23
Alderon Games Launcher/Path of Titans on NixOS
{ stdenv, shellcheck, appimage-run, writeShellApplication, vulkan-loader, vulkan-tools, fetchurl, curl }:
let
version = "1.1.68";
name = "alderon-games-launcher-${version}";
launcher = fetchurl {
inherit name;
url = "https://launcher-cdn.alderongames.com/AlderonGamesLauncher-${version}.AppImage";
sha256 = "sha256-eFHFsFy7ieHws/aDlFBGAQrMB67zWL46I4oYfhbF0U4=";
};
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 2600 Six-Core Processor
CPU Family: 0x17
@lboklin
lboklin / MountAndBlade-Nixlord.txt
Last active April 6, 2020 13:01
Bannerlord wine prefix creation for NixOS users (no deps management)
### WARNING:
### This will delete your prefix. Backup or move it or any settings before running.
### NOTE:
### This symlinks your game settings and saves into your ${HOME}/Documents directory
### to keep them safe.
# set -x
if [[ -z $@ ]]
then
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 2600 Six-Core Processor
CPU Family: 0x17
@lboklin
lboklin / .spacemacs
Created February 14, 2017 10:50
spacemacs config
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory