Commit Graph

134 Commits

Author SHA1 Message Date
tv
ede763d77a lib.krebs.genipv6: normalize net addresses 2018-12-14 20:03:26 +01:00
tv
2d243bbeac lib.krebs.genipv6: make net addresses 128 bit long 2018-12-14 20:02:17 +01:00
tv
35be9c66bf lib.normalize-ip6-addr: no :: for single section 2018-12-12 00:34:32 +01:00
tv
474e3e2e45 lib: import generally useful stuff from genipv6 2018-12-11 23:21:42 +01:00
tv
cee44811cd lib.krebs.genipv6: use normalize-ip6-addr 2018-12-11 22:54:49 +01:00
tv
b6e1cef6a5 lib.normalize-ip6-addr: only normalize addrs w/o :: 2018-12-11 22:47:27 +01:00
tv
facbcdafc8 lib.setAttr: RIP 2018-12-11 22:06:35 +01:00
tv
46275b41ed lib.krebs.genipv6: can compute suffix from name 2018-12-11 21:37:52 +01:00
tv
c36a52fb67 lib.krebs.genipv6 hash: 0000 -> 0 instead of ε 2018-12-11 19:52:12 +01:00
lassulus
149b7f49ec lib types nets: add wireguard 2018-12-09 16:50:58 +01:00
tv
24c9ea126b lib.krebs.genipv6: init 2018-12-07 13:21:54 +01:00
tv
8ce6ab8401 lib.krebs: init 2018-12-07 13:21:53 +01:00
lassulus
8f53937c40 types host: cores can also be 0 2018-12-05 16:52:32 +01:00
lassulus
82988de84c lib: genid is genid_unit32 2018-12-03 07:45:20 +01:00
tv
bd4a4c2faa lib.types.user: use genid_uint31
Refs https://github.com/systemd/systemd/issues/11026
2018-12-02 14:14:03 +01:00
tv
5e4ea890cf lib: add krops 2018-11-30 13:42:44 +01:00
tv
5f0b1b8035 lib: add mapNixDir{,1} 2018-11-30 09:47:26 +01:00
lassulus
f9d96d13de genid_signed -> genid_uint31 2018-08-09 14:38:06 +02:00
lassulus
9bd435d14c types host: add monitoring bool 2018-04-27 15:14:59 +02:00
tv
dd4fac0fa4 populate: 2.1.0 -> 2.3.0 2018-02-28 15:15:58 +01:00
tv
3ac7941968 types: refactor source 2018-02-28 15:15:58 +01:00
tv
51a30f41cf types.source: add pass type 2017-12-15 03:33:43 +01:00
lassulus
5014ba291d types: use cidr only in tinc.subnets 2017-11-29 15:51:13 +01:00
lassulus
8bf5550852 types: add cidr and use as net.address 2017-10-11 18:12:31 +02:00
tv
8179f87e5a lib shell.escape: escape the empty string as '' 2017-09-19 20:42:27 +02:00
lassulus
bd09ea6e3b types.host: add external bool 2017-08-31 19:45:58 +02:00
lassulus
dbc9889f82 types.host: managed -> ci 2017-08-31 19:15:09 +02:00
tv
e4042e132a move subdirsOf from lib to makefu 2017-08-01 19:43:15 +02:00
tv
5742f32289 krebs.sitemap: init 2017-08-01 12:02:02 +02:00
lassulus
46f400caea types hosts: set default managed to false 2017-07-27 19:44:18 +02:00
tv
29ae8b026c lib.eval-source: sanitize source 2017-07-23 00:29:38 +02:00
tv
be2a5a88c4 lib.eval-source: allow source to be a list 2017-07-12 19:09:50 +02:00
tv
7fdc46bb9d move source config from module system to 1systems/*/source.nix 2017-07-10 11:05:48 +02:00
tv
9b50125b86 types.label: drop redundant isString 2017-06-18 16:17:55 +02:00
tv
9f75e81c5f lib: add test and testString 2017-06-18 15:49:54 +02:00
lassulus
0901d6e6f8 lib/types: add managed bool to host type 2017-05-19 00:24:52 +02:00
tv
f374b704b0 types.user.mail: str -> nullOr str 2017-04-27 19:43:12 +02:00
tv
79bcfa03ed types.net: normalize IPv6 address 2017-04-13 11:13:59 +02:00
tv
f93e1d466f lib: add normalize-ip6-addr 2017-04-13 11:12:55 +02:00
tv
a673125fbb types.*pathname: normalize slashes 2017-03-31 16:10:59 +02:00
lassulus
cc928ccbc6 move indent to lib 2017-01-21 23:26:48 +01:00
tv
844d347ce7 lib: import bulk of krebs/4lib 2016-10-20 20:21:59 +02:00
tv
1a5f52234e krebs lib: move {eq,ne,mod} to lib 2016-10-13 21:51:27 +02:00
tv
aa167d3e26 lib: import shell from krebs/4lib 2016-08-02 20:24:45 +02:00
tv
2bc5c58d85 move old stuff 2015-07-11 19:44:12 +02:00
tv
71d04007a8 lib git: s/cd/$host/ 2015-06-19 18:34:50 +02:00
tv
313fe868aa irc-announce: don't say "pushed" 2015-06-18 23:12:31 +02:00
tv
89468e61cc irc-announce: create,delete: announce refname 2015-06-18 23:10:53 +02:00
tv
1a89fc4b8a irc-announce: add pkg nettools
For hostname.
2015-06-18 23:10:20 +02:00
tv
6669e30924 irc-announce: append PID to nick 2015-06-18 21:55:04 +02:00
tv
3c18dea8da irc-announce: id=newrev & id2=oldrev 2015-06-18 21:26:33 +02:00
tv
94488da95f lib/git: add irc-announce 2015-06-18 21:21:54 +02:00
tv
8ee650ed25 modules/tv/git: initial commit (incl. lib.git) 2015-06-14 19:15:56 +02:00
tv
dba033ed10 lib: take lib instead of pkgs argument 2015-06-14 18:48:53 +02:00
tv
36670f3e1c sh: functions -> bin/ 2015-05-21 01:56:08 +02:00
tv
b95a514bcc lib/cac.sh: add cac_ssh 2015-05-20 22:30:00 +02:00
tv
c5b8e0d368 networking-configuration -> lib/cacnixos.sh 2015-05-20 22:16:48 +02:00
tv
1cc154e1a2 lib/net.sh: add net_netmask_to_prefix 2015-05-20 22:05:38 +02:00
tv
3cc354008a lib/cac.sh: add cac_getserver_by_servername 2015-05-20 21:58:59 +02:00
tv
a2970fcae7 lib/cac.sh cac_listservers: return maybe data 2015-05-20 21:34:24 +02:00
tv
952ea06725 lib/cac.sh cac_listservers: check response status 2015-05-20 21:26:55 +02:00
tv
5245d6dd95 lib/cac.sh: move low level functions to bottom 2015-05-20 20:40:42 +02:00
tv
ed3b209130 lib/cac.sh: _cac_{use curl in {get,post}}_api_v1 2015-05-20 20:32:56 +02:00
tv
223db82862 lib/cac.sh: implement missing API calls 2015-05-20 20:19:35 +02:00
tv
31dd668d39 lib/cac.sh: add _cac_post_api_v1 2015-05-20 20:18:33 +02:00
tv
a3f87cec68 lib/cac.sh: add _cac_get_api_v1 2015-05-20 19:47:54 +02:00
tv
c75cc77194 lib/url.sh: initial commit 2015-05-20 19:47:25 +02:00
tv
68590be2f2 lib cac: wrap cac_via'ble calls with _cac_exec 2015-05-20 19:22:49 +02:00
tv
d7319a7e87 lib cac: curl w/-G 2015-05-20 19:18:55 +02:00
tv
56f65724e3 lib cac: add cac_listtasks 2015-05-20 19:15:12 +02:00
tv
cc62429cf3 lib cac: remove \ from URL 2015-05-20 19:14:35 +02:00
tv
a145561ece mv cac_listservers from infest to lib/cac.sh 2015-05-20 19:07:33 +02:00
tv
d65a534022 prelude: make <secrets> available 2015-05-20 16:10:42 +02:00
tv
b57585d3e5 prelude: nixpkgs_dir=/var/nixpkgs 2015-05-19 23:17:20 +02:00
tv
0c6466f23b prelude: break lines before 80 columns 2015-05-19 23:17:20 +02:00
tv
5b4567d75d prelude: consistently use "src" as remote name 2015-05-19 23:17:20 +02:00
tv
eadedf334c prelude: there's no cache-git 2015-05-19 23:17:20 +02:00
lassulus
6dbf8e292e prelude.sh: better git remote logic 2015-05-19 23:17:20 +02:00
lassulus
77069f3651 prelude.sh: better output, working url/rev check 2015-05-19 23:17:20 +02:00
lassulus
46db44b89f prelude.sh: use nixpkgs.{url,rev} as remote nixpkgs 2015-05-19 23:17:20 +02:00
tv
6e70d8fc47 run -> {deploy,lib/prelude.sh} 2015-05-19 23:15:56 +02:00
tv
e663397c9e ./run deploy configuration [user]@hostname 2015-05-19 23:10:57 +02:00
tv
a59c2b3e03 lib shell-escape: use builtins.match 2015-05-19 23:10:57 +02:00
tv
f93ca99fab initial commit 2015-05-19 23:10:57 +02:00