21 Matching Annotations
  1. Nov 2020
  2. Jun 2020
    1. extraUsers

      extraUsers have been renamed to users. See related commits.

    2. boot.initrd.luks.devices = [ { name = "root"; device = "/dev/nvme0n1p2"; preLVM = true; } ];

      This will still work on 20.03 but will show a warning as name = "root"; is deprecated, and luksroot should be used instead (see boot.initrd.luks.devices NixOS option) .

      boot.initd.luks.devices = {
        luksroot = {
          device = "/nev/sda2";
          preLVM = true;
    3. # cryptsetup luksFormat $LVM_PARTITION

      Got a warning here but it seems to be safe to ignore.

      WARNING: Locking directory /run/cryptsetup is missing!
    4. Networking

      This didn't work out of the box, therefore worth looking at the Arch linux wpa_supplicant docs.

      wpa_cli also wouldn't work, and needed to make sure that I had the right SSID so this link is also helpful to list available wifi networks.

    5. Note that from here on in we’ll be in root prompts the whole time. The NixOS install environment helpfully drops you in a shell with root logged in.

      On 20.03 install drops users to a non-privileged terminal so sudo su has to be entered to become root. (Otherwise the first steps in "Networking" will fail immediately.)

      Saving this here for posterity: https://stackoverflow.com/questions/55191125/cant-seem-to-get-sudo-working-under-nixos

  3. Mar 2019
    1. error BadZipfile: File is not a zip file

      在安装albacore的时候,使用pip install命令安装.whl文件的时候,总是会出现“ BadZipfile:File is not a zip file”的错误,通过使用参数--no-cache-dir可以解决这个问题。

  4. Oct 2018
  5. Sep 2018
  6. Nov 2017
  7. Jul 2017
  8. Mar 2017
  9. Jan 2017
  10. Aug 2016
    1. 1. Install the TidalCycles pattern engine

      For Windows users: if you get errors during this process it is likely because you tried to execute cabal install tidal from the standard Windows command line. Some of the tools in the Linux toolchain are required. Download and install MingW64 or git for Windows which comes with a bash-like shell that should have everything you need built in! Enjoy!

  11. May 2016
    1. bower_components

      Ionic installs bower components (bower packages) into the project's lib folder:


      This behaviour is defined in the projects .bowerrc file, which looks like this:

        "directory": "www/lib"

      The project .bowerrc file may be found at the same level as the www folder.

      Note that if you install angular-chart this way, you don't need to install Chart.js separately; it is one of the dependencies that bower will install for you. Of course, you must include the script tag that references the Chart.js file as usual!

      Finally, if you want to link angular-chart.css you must follow the same procedure.

  12. Dec 2013
    1. launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist

      assuming this is for < OSX ML

    2. npm -g install coffee-script


    3. npm -g install handlebars

      this worked in sudo, too.

    4. npm -g install uglify-js

      had to install this as sudo

    5. go