This is a Spacemacs config, I only use it for Coq + Proof General.
- Make sure you have Emacs & Coq installed
- Install Proof General
cd ~/.emacs.d/private/local
Some recommended books for improving as a software developer
Most software books are too language specific and go out of date too quickly. What I find has stayed with me are books about bigger concepts, such as systems thinking and complexity, and also so-called "soft skills" such as management and psychology.
These are all really about developing empathy for other people :)
# https://www.tweag.io/blog/2020-07-31-nixos-flakes/ | |
# To switch from channels to flakes execute: | |
# cd /etc/nixos | |
# sudo wget -O flake.nix https://gist.githubusercontent.com/misuzu/80af74212ba76d03f6a7a6f2e8ae1620/raw/flake.nix | |
# sudo sed -i "s/myhost/$(hostname)/g" flake.nix | |
# sudo git init | |
# sudo git add . # won't work without this | |
# nix run nixpkgs.nixFlakes -c sudo nix --experimental-features 'flakes nix-command' build .#nixosConfigurations.$(hostname).config.system.build.toplevel | |
# sudo ./result/bin/switch-to-configuration switch |
{ config, lib, pkgs, ...}: | |
with lib; | |
let | |
cfg = config.services.batteryNotifier; | |
in { | |
options = { | |
services.batteryNotifier = { | |
enable = mkOption { |
{ pkgs ? import <nixpkgs> {}}: | |
let | |
jupyterPort = pkgs.config.jupyterPort; | |
fhs = pkgs.buildFHSUserEnv { | |
name = "julia-fhs"; | |
targetPkgs = pkgs: with pkgs; | |
[ | |
git | |
gitRepo |
(draft; work in progress)
See also:
{ pkgs ? import <nixpkgs> {} }: | |
let | |
# To use this shell.nix on NixOS your user needs to be configured as such: | |
# users.extraUsers.adisbladis = { | |
# subUidRanges = [{ startUid = 100000; count = 65536; }]; | |
# subGidRanges = [{ startGid = 100000; count = 65536; }]; | |
# }; |
{ pkgs ? import <nixpkgs> {} }: | |
let | |
makeEnv = python: pkgs.poetry2nix.mkPoetryEnv { | |
python = python; | |
pyproject = ./pyproject.toml; | |
poetrylock = ./poetry.lock; | |
overrides = [ | |
pkgs.poetry2nix.defaultPoetryOverrides | |
(self: super: { |
{ config, lib, pkgs, ... }: | |
{ | |
services.sshd.enable = true; | |
services.terraria = { | |
enable = true; | |
home = "/srv/terraria"; | |
}; | |
nixpkgs.config.allowUnfree = true; | |
networking.firewall.allowedTCPPorts = [ 80 ]; |
Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store
. For more information about GPG, consult the GNU Privacy Handbook.
To get started, install pass
and generate a keypair.
$ brew install pass
$ gpg --gen-key
$ gpg --list-keys