summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lass/1systems/cloudkrebs.nix1
-rw-r--r--lass/1systems/mors.nix35
-rw-r--r--lass/1systems/uriel.nix1
-rw-r--r--lass/2configs/base.nix4
-rw-r--r--lass/2configs/identity.nix4
-rw-r--r--lass/2configs/mors/retiolum.nix21
-rw-r--r--lass/2configs/new-repos.nix2
-rw-r--r--lass/2configs/retiolum.nix4
-rw-r--r--lass/2configs/sshkeys.nix2
-rw-r--r--lass/2configs/urxvt.nix4
-rw-r--r--lass/3modules/xresources.nix2
11 files changed, 32 insertions, 48 deletions
diff --git a/lass/1systems/cloudkrebs.nix b/lass/1systems/cloudkrebs.nix
index 30a7fb51c..a60024b03 100644
--- a/lass/1systems/cloudkrebs.nix
+++ b/lass/1systems/cloudkrebs.nix
@@ -24,6 +24,7 @@
];
krebs.build = {
+ user = config.krebs.users.lass;
target = "root@cloudkrebs";
host = config.krebs.hosts.cloudkrebs;
deps = {
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix
index 3519bff66..5bef56682 100644
--- a/lass/1systems/mors.nix
+++ b/lass/1systems/mors.nix
@@ -2,27 +2,28 @@
{
imports = [
- ../../2configs/lass/desktop-base.nix
- ../../2configs/lass/programs.nix
- ../../2configs/lass/bitcoin.nix
- ../../2configs/lass/browsers.nix
- ../../2configs/lass/games.nix
- ../../2configs/lass/pass.nix
- ../../2configs/lass/virtualbox.nix
- ../../2configs/lass/elster.nix
- ../../2configs/lass/urxvt.nix
- ../../2configs/lass/steam.nix
- ../../2configs/lass/wine.nix
- ../../2configs/lass/texlive.nix
- ../../2configs/lass/binary-caches.nix
- ../../2configs/lass/ircd.nix
- ../../2configs/lass/chromium-patched.nix
- ../../2configs/lass/new-repos.nix
+ ../2configs/desktop-base.nix
+ ../2configs/programs.nix
+ ../2configs/bitcoin.nix
+ ../2configs/browsers.nix
+ ../2configs/games.nix
+ ../2configs/pass.nix
+ ../2configs/virtualbox.nix
+ ../2configs/elster.nix
+ ../2configs/urxvt.nix
+ ../2configs/steam.nix
+ ../2configs/wine.nix
+ ../2configs/texlive.nix
+ ../2configs/binary-caches.nix
+ ../2configs/ircd.nix
+ ../2configs/chromium-patched.nix
+ ../2configs/new-repos.nix
#../../2configs/tv/synaptics.nix
- ../../2configs/lass/retiolum.nix
+ ../2configs/retiolum.nix
];
krebs.build = {
+ user = config.krebs.users.lass;
target = "root@mors";
host = config.krebs.hosts.mors;
deps = {
diff --git a/lass/1systems/uriel.nix b/lass/1systems/uriel.nix
index 8984004e1..74d995560 100644
--- a/lass/1systems/uriel.nix
+++ b/lass/1systems/uriel.nix
@@ -24,6 +24,7 @@ with builtins;
];
krebs.build = {
+ user = config.krebs.users.lass;
target = "root@uriel";
host = config.krebs.hosts.uriel;
deps = {
diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix
index 8d4a9c896..8379f14e4 100644
--- a/lass/2configs/base.nix
+++ b/lass/2configs/base.nix
@@ -3,8 +3,8 @@
with lib;
{
imports = [
- ../../3modules/lass/iptables.nix
- ../../2configs/lass/vim.nix
+ ../3modules/iptables.nix
+ ../2configs/vim.nix
{
users.extraUsers =
mapAttrs (_: h: { hashedPassword = h; })
diff --git a/lass/2configs/identity.nix b/lass/2configs/identity.nix
index bfaad14d2..e712b16ac 100644
--- a/lass/2configs/identity.nix
+++ b/lass/2configs/identity.nix
@@ -1,7 +1,9 @@
{ config, ... }:
{
- imports = [ ../../3modules/tv/identity.nix ];
+ imports = [
+ ../../tv/3modules/identity.nix
+ ];
tv.identity = {
enable = true;
search = "retiolum";
diff --git a/lass/2configs/mors/retiolum.nix b/lass/2configs/mors/retiolum.nix
deleted file mode 100644
index 1148bee9c..000000000
--- a/lass/2configs/mors/retiolum.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- imports = [
- ../tv/retiolum
- ];
-
- tv.retiolum = {
- enable = true;
- hosts = <retiolum-hosts>;
- privateKeyFile = "/etc/nixos/secrets/mors.retiolum.rsa_key.priv";
- connectTo = [
- "fastpoke"
- "gum"
- "ire"
- ];
- };
-
- networking.firewall.allowedTCPPorts = [ 655 ];
- networking.firewall.allowedUDPPorts = [ 655 ];
-}
diff --git a/lass/2configs/new-repos.nix b/lass/2configs/new-repos.nix
index 809091b32..64e9a7f14 100644
--- a/lass/2configs/new-repos.nix
+++ b/lass/2configs/new-repos.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with import ../../tv/lib { inherit lib pkgs; };
+with import ../../tv/4lib { inherit lib pkgs; };
let
out = {
diff --git a/lass/2configs/retiolum.nix b/lass/2configs/retiolum.nix
index 95890f70e..b8a9cec72 100644
--- a/lass/2configs/retiolum.nix
+++ b/lass/2configs/retiolum.nix
@@ -2,8 +2,8 @@
{
imports = [
- ../../3modules/lass/iptables.nix
- ../../tv/configs/exim-retiolum.nix
+ ../3modules/iptables.nix
+ ../../tv/2configs/exim-retiolum.nix
];
lass.iptables = {
diff --git a/lass/2configs/sshkeys.nix b/lass/2configs/sshkeys.nix
index 114a2596b..f6081cf37 100644
--- a/lass/2configs/sshkeys.nix
+++ b/lass/2configs/sshkeys.nix
@@ -2,7 +2,7 @@
{
imports = [
- ../../3modules/lass/sshkeys.nix
+ ../3modules/sshkeys.nix
];
config.sshKeys.lass.pub = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp83zynhIueJJsWlSEykVSBrrgBFKq38+vT8bRfa+csqyjZBl2SQFuCPo+Qbh49mwchpZRshBa9jQEIGqmXxv/PYdfBFQuOFgyUq9ZcTZUXqeynicg/SyOYFW86iiqYralIAkuGPfQ4howLPVyjTZtWeEeeEttom6p6LMY5Aumjz2em0FG0n9rRFY2fBzrdYAgk9C0N6ojCs/Gzknk9SGntA96MDqHJ1HXWFMfmwOLCnxtE5TY30MqSmkrJb7Fsejwjoqoe9Y/mCaR0LpG2cStC1+37GbHJNH0caCMaQCX8qdfgMVbWTVeFWtV6aWOaRgwLrPDYn4cHWQJqTfhtPrNQ== lass@mors";
diff --git a/lass/2configs/urxvt.nix b/lass/2configs/urxvt.nix
index a2074ba02..1358dde7a 100644
--- a/lass/2configs/urxvt.nix
+++ b/lass/2configs/urxvt.nix
@@ -7,8 +7,8 @@ in
{
imports = [
- ../../3modules/lass/urxvtd.nix
- ../../3modules/lass/xresources.nix
+ ../3modules/urxvtd.nix
+ ../3modules/xresources.nix
];
services.urxvtd = {
diff --git a/lass/3modules/xresources.nix b/lass/3modules/xresources.nix
index 15c5b8b74..074963022 100644
--- a/lass/3modules/xresources.nix
+++ b/lass/3modules/xresources.nix
@@ -12,7 +12,7 @@ with lib;
let
- inherit (import ../../4lib/tv { inherit pkgs lib; }) shell-escape;
+ inherit (import ../../tv/4lib { inherit pkgs lib; }) shell-escape;
inherit (pkgs) writeScript;
in