Skip to content

Instantly share code, notes, and snippets.

View malev's full-sized avatar

Marcos Vanetta malev

View GitHub Profile
@malev
malev / AMP_ERRORS.md
Last active April 21, 2017 21:39
Test amp errors

Interface

/**
 * Adds a segment named `name`
 *
 * @param name {string}
 * @param options {object}
 * @param options.expiration {integer} timestamp
 * @param options.maxAge {integer} number of seconds before it expires
@malev
malev / configuration.nix
Last active October 10, 2024 21:29
Nix flakes
{ pkgs, ... }: {
imports = [ ./hardware-configuration.nix ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "eva04"; # Define your hostname.
networking.networkmanager.enable = true;