Advanced Search
Search Results
31 total results found
BTRFS Snippets
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
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
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
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
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
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
Rename Files to something legible from Camera jhead -nf%Y-%m-%d_%H-%M-%S *.jpg
Remote Scratchpad
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
Temperature to destroy pathogens
How to read a sourdough crumb