Skip to content

Instantly share code, notes, and snippets.

@throwup
throwup / configuration.nix
Created January 30, 2018 23:54
configuration.nix
# 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
@throwup
throwup / activate
Created January 30, 2018 23:49
home-manager-generation/activate
#!/nix/store/i0ay05pqkbnvpfijm52mmlrp6kmkl80c-bash-4.4-p12/bin/bash
set -eu
set -o pipefail
cd $HOME
export PATH="/nix/store/i0ay05pqkbnvpfijm52mmlrp6kmkl80c-bash-4.4-p12/bin:/nix/store/qd55j183ym04y43aam889xkimq704rdx-coreutils-8.29/bin:/nix/store/18ak9x2mqr2inprnr4biad04n6pi4bc5-diffutils-3.6/bin:/nix/store/8x05myb28xqwixakpz0xhqyb8735kvy7-findutils-4.6.0/bin:/nix/store/rhbm7javg5n5zmhhld7qbi23n5qc0srf-gnugrep-3.1/bin:/nix/store/zgr9zbw7p8gihn9h0nj8ggkcplrd9g7f-gnused-4.4/bin:/nix/store/hk3s7q3486lkkipv291m7y498q6rj0pp-ncurses-6.0-20171125/bin:/nix/store/ggj0xvnkx0r22x21z4jnz16vq6k76wx0-nix-1.11.16/bin${PATH:+:}$PATH"
. /nix/store/nwyv4ajhvn210ppigg1g9z177g0g4ls4-color-echo.sh