Skip to content

Instantly share code, notes, and snippets.

@icecreammatt
icecreammatt / immich.nix
Created March 26, 2024 01:31 — forked from mfenniak/immich.nix
NixOS configuration for Immich, based upon upstream docker-compose.yml
{ config, ... }:
let
immichHost = "immich.example.com"; # TODO: put your immich domain name here
immichRoot = "/tank/immich"; # TODO: Tweak these to your desired storage locations
immichPhotos = "${immichRoot}/photos";
immichAppdataRoot = "${immichRoot}/appdata";
immichVersion = "release";
immichExternalVolume1 = "/tank/BackupData/Google Photos/[email protected]"; # TODO: if external volumes are desired
@icecreammatt
icecreammatt / sample.nix
Created December 23, 2023 21:51
Mixed nix versions
# https://discourse.nixos.org/t/one-flake-multiple-systems-tracking-different-releases/37028/14
# https://github.com/futile/nixos-config/blob/e1c6a21a48bd0ef0ddebd67370b376eb54ff92e2/flake.nix#L6
{
inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/nixos-23.11"; };
nixpkgs-unstable = { url = "github:nixos/nixpkgs/nixos-unstable"; };
};
@icecreammatt
icecreammatt / README
Created March 9, 2023 07:48 — forked from jmatsushita/README
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.
# Inspired by https://github.com/malob/nixpkgs I highly recommend looking at malob's repo for a more thorough configuration
#
# Some people are coming directly to this Gist from search results and not the original post[1]. If that sounds like you, you should also know there is a video[2] that accompanies this.
#
# [1] https://discourse.nixos.org/t/simple-workable-config-for-m1-macbook-pro-monterey-12-0-1-with-nix-flakes-nix-darwin-and-home-manager/16834
# [2] https://www.youtube.com/watch?v=KJgN0lnA5mk
#
@icecreammatt
icecreammatt / vimium_colemak
Last active January 30, 2023 17:25 — forked from benyarb/vimium_colemak
Vimium Colemak Keybindings
# Custom key mappings
map e scrollDown
map E nextTab
#map L scrollPageUp
unmap n
map n scrollLeft
map u scrollUp
/* Hide Top Tabs */
#TabsToolbar { visibility: collapse !important; }
/* Cleanup treestyle tab css */
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
@icecreammatt
icecreammatt / README.md
Last active December 19, 2022 06:32 — forked from arolle/README.md
Notes in the Terminal like in Notational Velocity

Notes in the Terminal like in Notational Velocity

The way that Notational Velocity allows to manage your notes is genious, but only available to macOS users. That software presents a list of your notes next to the editable preview of a the selected note and a powerful full-text search filters the list of notes. As all the notes are stored as plain text files they can easily synchronized. This article presents an alternative note managing tool that works for major operating systems, is free and open source.

The setup combines ranger and ones' favourite

@icecreammatt
icecreammatt / tree_style_tab_firefox.md
Last active February 24, 2023 13:32 — forked from ruanbekker/tree_style_tab_firefox.md
Hide Native Tabs with Tree Style Tabs for Firefox
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@icecreammatt
icecreammatt / settings.json
Last active June 26, 2018 17:30
VSCode Settings
{
"gitlens.advanced.messages": {
"suppressShowKeyBindingsNotice": true
},
"workbench.colorTheme": "Palenight Theme",
"window.zoomLevel": 1,
"workbench.iconTheme": "vscode-icons",
"editor.minimap.enabled": false,
"vim.easymotion": true,
"vim.leader": ",",