summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-20 20:54:38 +0200
committertv <tv@krebsco.de>2016-10-20 20:54:38 +0200
commitf47bab7f710b7c8a282c3a3c38affc8a0bc30cc9 (patch)
treea7f59f4511ced29de7bdb4334d84b2f9cd137838 /lass/2configs
parent4a6fbbbe503e32096a30a07c3ee51d3524057b8e (diff)
drop config.krebs.lib
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/backups.nix2
-rw-r--r--lass/2configs/browsers.nix2
-rw-r--r--lass/2configs/buildbot-standalone.nix2
-rw-r--r--lass/2configs/c-base.nix2
-rw-r--r--lass/2configs/default.nix2
-rw-r--r--lass/2configs/downloading.nix2
-rw-r--r--lass/2configs/exim-retiolum.nix2
-rw-r--r--lass/2configs/exim-smarthost.nix2
-rw-r--r--lass/2configs/gc.nix2
-rw-r--r--lass/2configs/git.nix2
-rw-r--r--lass/2configs/go.nix2
-rw-r--r--lass/2configs/hw/tp-x220.nix2
-rw-r--r--lass/2configs/libvirt.nix2
-rw-r--r--lass/2configs/pulse.nix2
-rw-r--r--lass/2configs/radio.nix4
-rw-r--r--lass/2configs/repo-sync.nix2
-rw-r--r--lass/2configs/skype.nix2
-rw-r--r--lass/2configs/teamviewer.nix2
-rw-r--r--lass/2configs/vim.nix2
-rw-r--r--lass/2configs/weechat.nix2
-rw-r--r--lass/2configs/xserver/Xresources.nix2
-rw-r--r--lass/2configs/xserver/default.nix2
-rw-r--r--lass/2configs/xserver/xserver.conf.nix2
23 files changed, 24 insertions, 24 deletions
diff --git a/lass/2configs/backups.nix b/lass/2configs/backups.nix
index 916e08219..22b48f6e8 100644
--- a/lass/2configs/backups.nix
+++ b/lass/2configs/backups.nix
@@ -1,5 +1,5 @@
{ config, lib, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
krebs.backup.plans = {
diff --git a/lass/2configs/browsers.nix b/lass/2configs/browsers.nix
index 90f420674..88ee70802 100644
--- a/lass/2configs/browsers.nix
+++ b/lass/2configs/browsers.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
mainUser = config.users.extraUsers.mainUser;
diff --git a/lass/2configs/buildbot-standalone.nix b/lass/2configs/buildbot-standalone.nix
index 628fdf61f..df01a84c0 100644
--- a/lass/2configs/buildbot-standalone.nix
+++ b/lass/2configs/buildbot-standalone.nix
@@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
sshHostConfig = pkgs.writeText "ssh-config" ''
diff --git a/lass/2configs/c-base.nix b/lass/2configs/c-base.nix
index 9d13bc30d..9295fd9ef 100644
--- a/lass/2configs/c-base.nix
+++ b/lass/2configs/c-base.nix
@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
- inherit (config.krebs.lib) genid;
+ inherit (import <stockholm/lib>) genid;
in {
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index 0b7ca8eaa..43c4d5b0d 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
imports = [
../2configs/audit.nix
diff --git a/lass/2configs/downloading.nix b/lass/2configs/downloading.nix
index 1bba5b416..79a609e2b 100644
--- a/lass/2configs/downloading.nix
+++ b/lass/2configs/downloading.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
users.extraUsers = {
diff --git a/lass/2configs/exim-retiolum.nix b/lass/2configs/exim-retiolum.nix
index c07b6c15a..1ee8d843e 100644
--- a/lass/2configs/exim-retiolum.nix
+++ b/lass/2configs/exim-retiolum.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
krebs.exim-retiolum.enable = true;
diff --git a/lass/2configs/exim-smarthost.nix b/lass/2configs/exim-smarthost.nix
index 3ed8be77f..3bf78d9f4 100644
--- a/lass/2configs/exim-smarthost.nix
+++ b/lass/2configs/exim-smarthost.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
krebs.exim-smarthost = {
diff --git a/lass/2configs/gc.nix b/lass/2configs/gc.nix
index 8762ad95e..00f318e51 100644
--- a/lass/2configs/gc.nix
+++ b/lass/2configs/gc.nix
@@ -1,6 +1,6 @@
{ config, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
nix.gc = {
automatic = ! elem config.krebs.build.host.name [ "prism" "mors" ];
diff --git a/lass/2configs/git.nix b/lass/2configs/git.nix
index ab4450715..06cae734e 100644
--- a/lass/2configs/git.nix
+++ b/lass/2configs/git.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
diff --git a/lass/2configs/go.nix b/lass/2configs/go.nix
index 795ad7a26..7d694c173 100644
--- a/lass/2configs/go.nix
+++ b/lass/2configs/go.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
environment.systemPackages = [
pkgs.go
diff --git a/lass/2configs/hw/tp-x220.nix b/lass/2configs/hw/tp-x220.nix
index be1faccea..4a7d0bbcd 100644
--- a/lass/2configs/hw/tp-x220.nix
+++ b/lass/2configs/hw/tp-x220.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
networking.wireless.enable = lib.mkDefault true;
diff --git a/lass/2configs/libvirt.nix b/lass/2configs/libvirt.nix
index a51ccae58..e739d2f79 100644
--- a/lass/2configs/libvirt.nix
+++ b/lass/2configs/libvirt.nix
@@ -2,7 +2,7 @@
let
mainUser = config.users.extraUsers.mainUser;
- inherit (config.krebs.lib) genid;
+ inherit (import <stockholm/lib>) genid;
in {
virtualisation.libvirtd.enable = true;
diff --git a/lass/2configs/pulse.nix b/lass/2configs/pulse.nix
index 3be482191..373207461 100644
--- a/lass/2configs/pulse.nix
+++ b/lass/2configs/pulse.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
pkg = pkgs.pulseaudioLight;
runDir = "/run/pulse";
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix
index 59678dbff..88e826683 100644
--- a/lass/2configs/radio.nix
+++ b/lass/2configs/radio.nix
@@ -1,11 +1,11 @@
{ config, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
name = "radio";
mainUser = config.users.extraUsers.mainUser;
- inherit (config.krebs.lib) genid;
+ inherit (import <stockholm/lib>) genid;
admin-password = import <secrets/icecast-admin-pw>;
source-password = import <secrets/icecast-source-pw>;
diff --git a/lass/2configs/repo-sync.nix b/lass/2configs/repo-sync.nix
index eae583a84..f88149730 100644
--- a/lass/2configs/repo-sync.nix
+++ b/lass/2configs/repo-sync.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
mirror = "git@${config.networking.hostName}:";
diff --git a/lass/2configs/skype.nix b/lass/2configs/skype.nix
index 5b6da4a95..a803df15b 100644
--- a/lass/2configs/skype.nix
+++ b/lass/2configs/skype.nix
@@ -2,7 +2,7 @@
let
mainUser = config.users.extraUsers.mainUser;
- inherit (config.krebs.lib) genid;
+ inherit (import <stockholm/lib>) genid;
in {
users.extraUsers = {
diff --git a/lass/2configs/teamviewer.nix b/lass/2configs/teamviewer.nix
index 22bfb18d8..87b6fbac3 100644
--- a/lass/2configs/teamviewer.nix
+++ b/lass/2configs/teamviewer.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
services.teamviewer.enable = true;
}
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix
index 2bbec6ab1..aac2b96d4 100644
--- a/lass/2configs/vim.nix
+++ b/lass/2configs/vim.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
out = {
environment.systemPackages = [
diff --git a/lass/2configs/weechat.nix b/lass/2configs/weechat.nix
index 0bfd9fe6b..ae07b9a2e 100644
--- a/lass/2configs/weechat.nix
+++ b/lass/2configs/weechat.nix
@@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
- inherit (config.krebs.lib) genid;
+ inherit (import <stockholm/lib>) genid;
in {
krebs.per-user.chat.packages = with pkgs; [
mosh
diff --git a/lass/2configs/xserver/Xresources.nix b/lass/2configs/xserver/Xresources.nix
index 0f04540c3..3049774f8 100644
--- a/lass/2configs/xserver/Xresources.nix
+++ b/lass/2configs/xserver/Xresources.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
pkgs.writeText "Xresources" ''
URxvt*scrollBar: false
diff --git a/lass/2configs/xserver/default.nix b/lass/2configs/xserver/default.nix
index 0f9b1f84a..53c8f9444 100644
--- a/lass/2configs/xserver/default.nix
+++ b/lass/2configs/xserver/default.nix
@@ -1,5 +1,5 @@
{ config, pkgs, ... }@args:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
user = config.krebs.build.user;
in {
diff --git a/lass/2configs/xserver/xserver.conf.nix b/lass/2configs/xserver/xserver.conf.nix
index c452b4226..6f34e0150 100644
--- a/lass/2configs/xserver/xserver.conf.nix
+++ b/lass/2configs/xserver/xserver.conf.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
cfg = config.services.xserver;