I hereby claim:
- I am portothree on github.
- I am gustavop (https://keybase.io/gustavop) on keybase.
- I have a public key ASDOu1heQYKnxUfMtdXMaLYHk5g3xutUWJzif_4tVrzDFQo
To claim this, I am signing this object:
| # Module for configuring libvirt with static NixOS networking | |
| # instead of using libvirt managed bridge. | |
| { config, lib, pkgs, ... }: | |
| with lib; | |
| let | |
| cfg = config.virtualisation.libvirtd.networking; | |
| v6Enabled = cfg.ipv6.network != null; | |
| v6PLen = toInt (elemAt (splitString "/" cfg.ipv6.network) 1); |
| $ v4l2-ctl -c brightness=10,contrast=32,saturation=70,hue=0,gamma=110,gain=5,sharpness=6,backlight_compensation=6,exposure_auto=3 |
| # I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone | |
| # The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build | |
| # For NixOS, follow those instructions but skip anything related to installing packages | |
| # Detailed instructions: | |
| # cd into an empty directory of your choice | |
| # copy this file there | |
| # in nix-shell: | |
| # $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0 | |
| # $ repo sync | |
| # $ source build/envsetup.sh |
I hereby claim:
To claim this, I am signing this object:
The following shell transcript shows how to:
It is assumed that the pass package has been installed on both the first and second computers.
# Resize the file system in UI, under VM -> Hardware -> Click on the disk to resize, click "Resize disk" button
# Confirm increase in disk space (1TB in my case)
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 1T 0 part| #!/bin/bash | |
| #nvidia-xconfig --allow-empty-initial-configuration --enable-all-gpus --cool-bits=28 --separate-x-screens | |
| nvidia-smi -pm ENABLED | |
| export GPU_FORCE_64BIT_PTR=0 | |
| export GPU_MAX_HEAP_SIZE=100 | |
| export GPU_USE_SYNC_OBJECTS=1 | |
| export GPU_MAX_ALLOC_PERCENT=100 |
Add on top of default.nix: with import {}; or simply run as nix-build '' (i. e. for nix-build complaining) or rather nix-build -E 'with import {}; callPackage ./default.nix {}' (or even import)
| { | |
| "basics": { | |
| "name": "Your first and last name", | |
| "label": "", | |
| "picture": "", | |
| "email": "Your email address", | |
| "phone": "A phone number, with any formatting you like. E.g. (555) 555-5555.", | |
| "degree": "", | |
| "website": "Your website URL", | |
| "summary": "A one-sentence to one-paragraph overview text. Do not include any line-breaks.", |