tv: reintroduce directory numbers

This commit is contained in:
tv 2015-07-28 20:40:25 +02:00
parent a7ff77b6c1
commit 8170b28196
42 changed files with 44 additions and 44 deletions

View file

@ -9,8 +9,8 @@ let
inherit lib; inherit lib;
system = builtins.currentSystem; system = builtins.currentSystem;
modules = map (p: ./. + "/${p}") [ modules = map (p: ./. + "/${p}") [
"${user-name}/systems/${system-name}.nix" "${user-name}/1systems/${system-name}.nix"
"${user-name}/modules" "${user-name}/3modules"
"3modules/krebs" "3modules/krebs"
]; ];
}; };

View file

@ -3,7 +3,7 @@
with lib; with lib;
let let
tvpkgs = import ../pkgs { inherit pkgs; }; tvpkgs = import ../5pkgs { inherit pkgs; };
in in
{ {
@ -26,14 +26,14 @@ in
}; };
imports = [ imports = [
../configs/CAC-Developer-2.nix ../2configs/CAC-Developer-2.nix
../configs/CAC-CentOS-7-64bit.nix ../2configs/CAC-CentOS-7-64bit.nix
../configs/base.nix ../2configs/base.nix
../configs/consul-server.nix ../2configs/consul-server.nix
../configs/exim-smarthost.nix ../2configs/exim-smarthost.nix
../configs/git.nix ../2configs/git.nix
{ {
imports = [ ../configs/charybdis.nix ]; imports = [ ../2configs/charybdis.nix ];
tv.charybdis = { tv.charybdis = {
enable = true; enable = true;
sslCert = ../../Zcerts/charybdis_cd.crt.pem; sslCert = ../../Zcerts/charybdis_cd.crt.pem;

View file

@ -22,12 +22,12 @@ with lib;
}; };
imports = [ imports = [
../configs/CAC-Developer-1.nix ../2configs/CAC-Developer-1.nix
../configs/CAC-CentOS-7-64bit.nix ../2configs/CAC-CentOS-7-64bit.nix
../configs/base.nix ../2configs/base.nix
../configs/consul-server.nix ../2configs/consul-server.nix
../configs/exim-smarthost.nix ../2configs/exim-smarthost.nix
../configs/git.nix ../2configs/git.nix
{ {
tv.iptables = { tv.iptables = {
enable = true; enable = true;

View file

@ -22,11 +22,11 @@ with lib;
}; };
imports = [ imports = [
../configs/AO753.nix ../2configs/AO753.nix
../configs/base.nix ../2configs/base.nix
../configs/consul-server.nix ../2configs/consul-server.nix
../configs/exim-retiolum.nix ../2configs/exim-retiolum.nix
../configs/git.nix ../2configs/git.nix
{ {
tv.iptables = { tv.iptables = {
enable = true; enable = true;

View file

@ -22,12 +22,12 @@ with lib;
}; };
imports = [ imports = [
../configs/CAC-Developer-1.nix ../2configs/CAC-Developer-1.nix
../configs/CAC-CentOS-7-64bit.nix ../2configs/CAC-CentOS-7-64bit.nix
../configs/base.nix ../2configs/base.nix
../configs/consul-server.nix ../2configs/consul-server.nix
../configs/exim-smarthost.nix ../2configs/exim-smarthost.nix
../configs/git.nix ../2configs/git.nix
{ {
tv.iptables = { tv.iptables = {
enable = true; enable = true;

View file

@ -3,7 +3,7 @@
with lib; with lib;
let let
tvpkgs = import ../pkgs { inherit pkgs; }; tvpkgs = import ../5pkgs { inherit pkgs; };
in in
{ {
@ -26,15 +26,15 @@ in
}; };
imports = [ imports = [
../configs/w110er.nix ../2configs/w110er.nix
../configs/base.nix ../2configs/base.nix
../configs/consul-client.nix ../2configs/consul-client.nix
../configs/exim-retiolum.nix ../2configs/exim-retiolum.nix
../configs/git.nix ../2configs/git.nix
../configs/mail-client.nix ../2configs/mail-client.nix
../configs/xserver.nix ../2configs/xserver.nix
../configs/synaptics.nix # TODO w110er if xserver is enabled ../2configs/synaptics.nix # TODO w110er if xserver is enabled
../configs/urlwatch.nix ../2configs/urlwatch.nix
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
../configs/smartd.nix ../2configs/smartd.nix
]; ];
boot.loader.grub = { boot.loader.grub = {

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
tvpkgs = import ../pkgs { inherit pkgs; }; tvpkgs = import ../5pkgs { inherit pkgs; };
in in
with builtins; with builtins;

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with import ../lib { inherit lib pkgs; }; with import ../4lib { inherit lib pkgs; };
let let
out = { out = {

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
with import ../pkgs { inherit pkgs; }; with import ../5pkgs { inherit pkgs; };
{ {
environment.systemPackages = [ environment.systemPackages = [

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
../configs/smartd.nix ../2configs/smartd.nix
]; ];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
../configs/urxvt.nix # TODO via xserver ../2configs/urxvt.nix # TODO via xserver
]; ];
services.xserver.enable = true; services.xserver.enable = true;

View file

@ -5,7 +5,7 @@
# TODO consul-bootstrap HOST that actually does is # TODO consul-bootstrap HOST that actually does is
# TODO tools to inspect state of a cluster in outage state # TODO tools to inspect state of a cluster in outage state
with import ../lib { inherit lib pkgs; }; with import ../4lib { inherit lib pkgs; };
let let
cfg = config.tv.consul; cfg = config.tv.consul;