- Encrypt everthing including /boot and /root
- Enter password once
- Support UEFI
Download NixOS minimal iso and copy to USB stick. For example on Mac OSX
$ diskutil list
$ diskutil unmountDisk /dev/disk1 # Make sure you got right device| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix |
| (define-module (my packages) | |
| #:use-module ((guix licenses) #:prefix license:) | |
| #:use-module (gnu packages linux) | |
| #:use-module (guix build-system trivial) | |
| #:use-module (gnu) | |
| #:use-module (guix download) | |
| #:use-module (guix git-download) | |
| #:use-module (guix packages)) | |
| (define (linux-nonfree-urls version) |
| # Put this file into `~/.config/nixpkgs/overlays/idea.nix`. | |
| # Then, install IDEA with `nix-env -iA nixos.idea-community`. | |
| self: super: | |
| { | |
| jbsdk = super.callPackage ~/config/nix/jbsdk.nix {}; # you might need to override this path. | |
| idea-community = let | |
| version = "2017.2.3"; |
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| inherit (pkgs) stdenv; | |
| pythonPackages = stdenv.lib.fix' (self: with self; pkgs.python2Packages // | |
| { | |
| atari-py = buildPythonPackage rec { | |
| name = "atari-py-${version}"; | |
| version = "0.0.21"; |
This configuration is no longer updated
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from taskw import TaskWarrior | |
| import os.path, time | |
| class TConky (object): | |
| NONE = "--- \n" | |
| CONKY_HEADER = """ |