Skip to content

Instantly share code, notes, and snippets.

@brainsik
brainsik / font.css
Last active February 14, 2024 00:52
My trashy CSS to make Obsidian use the fonts I like
:root{
/* editor mode */
--text-editor: 'iA Writer Mono S';
/* code */
--font-monospace: 'FiraCode Nerd Font';
}
body {
font-family: var(--default-font);
@brainsik
brainsik / README.md
Last active March 26, 2024 00:21
NixOS / Nix notes

Notes from running NixOS in a local VM.

The attached configuration.nix sets users immutable to force managing them through the config. The primary user is added to the wheel group and the wheel group has passwordless sudo access. All passwords are set by hash (using mkpasswd). SSH keys can be added for the primary user and/or Tailscale SSH can be enabled.

Everything below is run as root.

Partition, format, mount, configure: