summaryrefslogtreecommitdiffstats
path: root/example.rc
blob: dac35de56bbbaaccf247423f12a99db795c1776a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env bash

#
# This is an example configuration file for nix-scripts. Copy this file to
# ~/.nix-scripts.rc and change the values of the variables to match your setup.
# Remember to update the configuration file whenever you update nix-scripts.
#

#
# Path to your configuration directory, where a git lives.
#
RC_CONFIG=~/config

#
# Path to your nixpkgs clone
#
RC_NIXPKGS=~/nixpkgs


#
#
# Command: switch
#
#

#
# default flags for git-tagging when doing nix-script switch
#
RC_SWITCH_DEFAULT_TAG_FLAGS="-a"


#
# default flags for git-tagging nixpkgs when doing nix-script switch
#
RC_SWITCH_DEFAULT_TAG_FLAGS_NIXPKGS=""


#
# The name of the remote in your nixpkgs clone which refers to the official
# repository of nixpkgs. Multiple entries must be seperated with space.
#
RC_SWITCH_UPSTREAM_NIXPKGS_REMOTE_NAME=upstream

#
# Container configuration templates can be put in single files and put in a
# directory which should be configured here.
#
# The file names must end with .template.nix
#
RC_CONTAINER_CONF_TEMPLATE_DIR=~/.nixos-scripts-container-conf-templates/


#
#
# Command: update-package-def
#
#

#
# default number to pass to "nix-build -j"
#
RC_UPD_NIX_BUILD_J=2

#
# default number to pass to "nix-build --cores"
#
RC_UPD_NIX_BUILD_CORES=2

#
# when updating a package definition, do git-push afterwards
# 0 = no, 1 = yes
#
RC_UPD_PUSH=0

#
# when updating a package definition, push to this remote. Several can be
# specified.
#
RC_UPD_PUSH_REMOTE="github"

#
# Channel name
#
RC_CHANNEL_NAME="unstable"