RIP specialArgs.lib

This commit is contained in:
tv 2016-02-14 16:43:44 +01:00
parent 234a7e8236
commit d01679cc63
30 changed files with 30 additions and 30 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
external-ip = head config.krebs.build.host.nets.internet.addrs4;
internal-ip = head config.krebs.build.host.nets.retiolum.addrs4;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
external-ip = head config.krebs.build.host.nets.internet.addrs4;

View file

@ -1,5 +1,5 @@
{ config, lib, ... }:
with lib;
with config.krebs.lib;
let
startAt = "0,6,12,18:00";
defaultBackupServer = config.krebs.hosts.omo;

View file

@ -21,7 +21,7 @@
# URxvt.visualBell: false
# URxvt.font : xft:Terminus
with lib;
with config.krebs.lib;
let
mainUser = config.krebs.build.user.name;
awesomecfg = pkgs.awesomecfg.full;

View file

@ -10,7 +10,7 @@
# wildcard.krebsco.de.key
# bepasty-secret.nix <- contains single string
with lib;
with config.krebs.lib;
let
sec = toString <secrets>;
# secKey is nothing worth protecting on a local machine

View file

@ -2,7 +2,7 @@
# graphite-web on port 8080
# carbon cache on port 2003 (tcp/udp)
with lib;
with config.krebs.lib;
let
connect-time-cfg = with pkgs; writeText "collectd-connect-time.cfg" ''
LoadPlugin python

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
system.stateVersion = "15.09";

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
krebs.exim-retiolum.enable = true;
environment.systemPackages = with pkgs; [

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
# vda1 ext4 (label nixos) -> only root partition
with lib;
with config.krebs.lib;
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;

View file

@ -8,7 +8,7 @@
# / (main-root)
# /home (main-home)
with lib;
with config.krebs.lib;
{
imports = [

View file

@ -3,7 +3,7 @@
# sda: bootloader grub2
# sda1: boot ext4 (label nixboot)
# sda2: cryptoluks -> ext4
with lib;
with config.krebs.lib;
{
boot = {
loader.grub.enable = true;

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
# vda1 ext4 (label nixos) -> only root partition
with lib;
with config.krebs.lib;
{
imports = [
./single-partition-ext4.nix

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
# TODO: remove tv lib :)
with lib;
with config.krebs.lib;
let
repos = priv-repos // krebs-repos ;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
# TODO: remove tv lib :)
with lib;
with config.krebs.lib;
let
repos = priv-repos // krebs-repos // connector-repos ;

View file

@ -2,7 +2,7 @@
# graphite-web on port 8080
# carbon cache on port 2003 (tcp/udp)
with lib;
with config.krebs.lib;
{
imports = [ ];

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
imports = [ ./tp-x2x0.nix ];

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
imports = [ ./tp-x2x0.nix ];

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
# TODO: put this somewhere else
networking.wireless.enable = true;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
environment.systemPackages = with pkgs; [
msmtp

View file

@ -5,7 +5,7 @@
# not fit into base-gui
# TODO split generic desktop stuff and laptop-specifics like lidswitching
with lib;
with config.krebs.lib;
{
imports = [
./base-gui.nix

View file

@ -1,6 +1,6 @@
{config, lib, ...}:
with lib;
with config.krebs.lib;
let
sec = toString <secrets>;
ssl_cert = "${sec}/wildcard.krebsco.de.crt";

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
sec = toString <secrets>;
ssl_cert = "${sec}/wildcard.krebsco.de.crt";

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
hostname = config.krebs.build.host.name;
user = config.services.nginx.user;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
sec = toString <secrets>;
ssl_cert = "${sec}/wildcard.krebsco.de.crt";

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
hostname = config.krebs.build.host.name;
external-ip = head config.krebs.build.host.nets.internet.addrs4;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
hostname = config.krebs.build.host.name;
# TODO local-ip from the nets config

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
{
krebs.retiolum = {
enable = true;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
##
with lib;
with config.krebs.lib;
let
mainUser = config.krebs.build.user.name;
in

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
# returns dirname without / , used as disk name

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
with config.krebs.lib;
let
# TODO: currently it is only netzclub