Skip to content

Instantly share code, notes, and snippets.

View loulecrivain's full-sized avatar

Lou Lecrivain loulecrivain

  • WDZ GmbH
  • Rennes, France
View GitHub Profile
@loulecrivain
loulecrivain / [email protected]
Created September 29, 2024 15:20
PaperMC systemd service template
[Unit]
Description=Minecraft Server %i
After=network.target
[Service]
WorkingDirectory=/opt/minecraft/%i
# Solves the issue where the minecraft server will endlessly restart itself
# See https://askubuntu.com/questions/953920/systemctl-service-timed-out-during-start for more info
Type=forking
@loulecrivain
loulecrivain / configuration.nix
Last active February 11, 2025 14:47
Lou's NixOS config
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@loulecrivain
loulecrivain / mxpackage.txt
Last active January 17, 2024 14:32
Install Emacs package from file
M-x package-install-file FILE
@loulecrivain
loulecrivain / pipsourceinstall.txt
Last active January 17, 2024 14:33
pip install without precompiled binaries
pip install --no-binary=:all: -r requirements.txt