lass: move everything to user-toplevel pt. 2

This commit is contained in:
lassulus 2015-07-28 22:20:59 +02:00
parent ce2b97767e
commit fa175ca26e
11 changed files with 32 additions and 48 deletions

View File

@ -24,6 +24,7 @@
];
krebs.build = {
user = config.krebs.users.lass;
target = "root@cloudkrebs";
host = config.krebs.hosts.cloudkrebs;
deps = {

View File

@ -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 = {

View File

@ -24,6 +24,7 @@ with builtins;
];
krebs.build = {
user = config.krebs.users.lass;
target = "root@uriel";
host = config.krebs.hosts.uriel;
deps = {

View File

@ -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; })

View File

@ -1,7 +1,9 @@
{ config, ... }:
{
imports = [ ../../3modules/tv/identity.nix ];
imports = [
../../tv/3modules/identity.nix
];
tv.identity = {
enable = true;
search = "retiolum";

View File

@ -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 ];
}

View File

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

View File

@ -2,8 +2,8 @@
{
imports = [
../../3modules/lass/iptables.nix
../../tv/configs/exim-retiolum.nix
../3modules/iptables.nix
../../tv/2configs/exim-retiolum.nix
];
lass.iptables = {

View File

@ -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";

View File

@ -7,8 +7,8 @@ in
{
imports = [
../../3modules/lass/urxvtd.nix
../../3modules/lass/xresources.nix
../3modules/urxvtd.nix
../3modules/xresources.nix
];
services.urxvtd = {

View File

@ -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