Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

47 total results found

BTRFS Snippets

Linux

RAID Convert Non-RAID to RAID1 mount /dev/<single_drive> /mnt btrfs device add /dev/<drive_to_add> /mnt btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt

Creating SystemD services in Nix

Linux NixOS

This will show how to create a services in Nix that will execute upon login. User services Get executed upon user login Key importance is the service_name tag that should be changed per service. {config, pkgs, lib, ...}: let cfg = config.services.service_...

Service Folders

Linux SystemD

Directory Below path for system units Below path for user units Environment variable set RuntimeDirectory /run/ $XDG_RUNTIME_DIR $RUNTIME_DIRECTORY StateDirectory /var/lib/ $XDG_STATE_HOME $STATE_DIRECTORY CacheDirectory /var/cache/ $XDG_CACHE_HOME ...

Remote Installation

Linux NixOS

Install a NixOS system remotely as long as it can accept root SSH connections. Going to use Disko for declarative partitioning Nixos-anywhere for remote installation magic either with included nix tools on OS installation disc or loading a Nix environment via...

Conditional Modules

Linux NixOS

Make a module that does something based on configuration options. Create a simple option that can be configured by setting customoption1=true. Bonus Have a nested conditional statement that happens if option 2 is set inside of option 1. {config, pkgs, lib, .....

New Deployment checklist

Linux NixOS

NixOS System My nix configuration has gotten complex. Passwords and Secrets are embedded in the repository and are necessary to be accessed in order to allow logins from the console. This is a summary of getting a system or a home configuration up and running....

Exif

Files

Rename Files to something legible from Camera jhead -nf%Y-%m-%d_%H-%M-%S *.jpg

Remote Scratchpad

Linux NixOS

Installing on a Debian Rescue # Make sure git is installed apt-get install -y git # Let root run the nix installer mkdir -p /etc/nix echo "build-users-group =" > /etc/nix/nix.conf echo "sandbox = false" >> /etc/nix/nix.conf # Install Nix in single-user mode ...

Bulk Fermentation Guidlines

Bread

Temperature to destroy pathogens

Meat

How to read a sourdough crumb

Bread