Merge branch 'master' of pnp:stockholm
This commit is contained in:
commit
42c2a52eaa
@ -14,6 +14,7 @@ let
|
||||
./iptables.nix
|
||||
./nginx.nix
|
||||
./Reaktor.nix
|
||||
./realwallpaper.nix
|
||||
./retiolum.nix
|
||||
./urlwatch.nix
|
||||
];
|
||||
|
@ -34,9 +34,11 @@ with import ../../4lib { inherit lib; };
|
||||
'';
|
||||
};
|
||||
};
|
||||
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
||||
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL21QDOEFdODFh6WAfNp6odrXo15pEsDQuGJfMu/cKzK";
|
||||
};
|
||||
fastpoke = {
|
||||
dc = "lass"; #dc = "cac";
|
||||
dc = "lass";
|
||||
nets = rec {
|
||||
internet = {
|
||||
addrs4 = ["193.22.164.36"];
|
||||
@ -95,6 +97,8 @@ with import ../../4lib { inherit lib; };
|
||||
'';
|
||||
};
|
||||
};
|
||||
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
||||
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7oYx7Lbkc0wPYNp92LQF93DCtxsGzOkVD91FJQzVZl";
|
||||
};
|
||||
uriel = {
|
||||
cores = 1;
|
||||
@ -119,6 +123,8 @@ with import ../../4lib { inherit lib; };
|
||||
'';
|
||||
};
|
||||
};
|
||||
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
||||
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBryIo/Waw8SWvlQ0+5I+Bd/dJgcMd6iPXtELS6gQXoc";
|
||||
secure = true;
|
||||
};
|
||||
mors = {
|
||||
@ -145,6 +151,8 @@ with import ../../4lib { inherit lib; };
|
||||
};
|
||||
};
|
||||
secure = true;
|
||||
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
||||
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINAMPlIG+6u75GJ3kvsPF6OoIZsU+u8ZQ+rdviv5fNMD";
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -8,12 +8,10 @@ let
|
||||
mkIf
|
||||
;
|
||||
|
||||
lpkgs = import ../5pkgs { inherit pkgs; };
|
||||
|
||||
cfg = config.lass.realwallpaper;
|
||||
cfg = config.krebs.realwallpaper;
|
||||
|
||||
out = {
|
||||
options.lass.realwallpaper = api;
|
||||
options.krebs.realwallpaper = api;
|
||||
config = mkIf cfg.enable imp;
|
||||
};
|
||||
|
||||
@ -57,13 +55,13 @@ let
|
||||
imp = {
|
||||
systemd.timers.realwallpaper = {
|
||||
description = "real wallpaper generator timer";
|
||||
wantedBy = [ "timers.target" ];
|
||||
|
||||
timerConfig = cfg.timerConfig;
|
||||
};
|
||||
|
||||
systemd.services.realwallpaper = {
|
||||
description = "real wallpaper generator";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
|
||||
path = with pkgs; [
|
||||
@ -85,7 +83,7 @@ let
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${lpkgs.realwallpaper}/realwallpaper.sh";
|
||||
ExecStart = "${pkgs.realwallpaper}/realwallpaper.sh";
|
||||
User = "realwallpaper";
|
||||
};
|
||||
};
|
@ -2,14 +2,14 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
name = "Reaktor-${version}";
|
||||
version = "0.4.3";
|
||||
version = "0.5.0";
|
||||
propagatedBuildInputs = with pkgs;[
|
||||
python3Packages.docopt
|
||||
python3Packages.requests2
|
||||
];
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/R/Reaktor/Reaktor-${version}.tar.gz";
|
||||
sha256 = "1rvfw9vg7i7z2ah7m5k3zik2b92d3xdaqa8am62qw6vgvmxcmfp4";
|
||||
sha256 = "1npag52xmnyqv56z0anyf6xf00q0smfzsippal0xdbxrfj7s8qim";
|
||||
};
|
||||
meta = {
|
||||
homepage = http://krebsco.de/;
|
||||
|
@ -24,6 +24,7 @@ rec {
|
||||
pssh = callPackage ./pssh {};
|
||||
passwdqc-utils = callPackage ./passwdqc-utils {};
|
||||
Reaktor = callPackage ./Reaktor {};
|
||||
realwallpaper = callPackage ./realwallpaper.nix {};
|
||||
youtube-tools = callPackage ./youtube-tools {};
|
||||
|
||||
execve = name: { filename, argv, envp ? {}, destination ? "" }:
|
||||
|
@ -13,6 +13,7 @@ in {
|
||||
../2configs/retiolum.nix
|
||||
../2configs/realwallpaper-server.nix
|
||||
../2configs/privoxy-retiolum.nix
|
||||
../2configs/git.nix
|
||||
{
|
||||
networking.interfaces.enp2s1.ip4 = [
|
||||
{
|
||||
|
@ -28,14 +28,14 @@ in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
powertop
|
||||
sxiv
|
||||
much
|
||||
|
||||
#window manager stuff
|
||||
haskellPackages.xmobar
|
||||
haskellPackages.yeganesh
|
||||
dmenu2
|
||||
xlibs.fontschumachermisc
|
||||
|
||||
sxiv
|
||||
];
|
||||
|
||||
fonts.fonts = [
|
||||
|
@ -51,7 +51,7 @@ let
|
||||
nick = config.krebs.build.host.name;
|
||||
channel = "#retiolum";
|
||||
server = "cd.retiolum";
|
||||
verbose = config.krebs.build.host.name == "cloudkrebs";
|
||||
verbose = config.krebs.build.host.name == "echelon";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,9 +1,5 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../3modules/realwallpaper.nix
|
||||
];
|
||||
|
||||
lass.realwallpaper.enable = true;
|
||||
krebs.realwallpaper.enable = true;
|
||||
}
|
||||
|
@ -3,6 +3,5 @@ _:
|
||||
{
|
||||
imports = [
|
||||
./xresources.nix
|
||||
./realwallpaper.nix
|
||||
];
|
||||
}
|
||||
|
@ -13,5 +13,4 @@ rec {
|
||||
ublock = callPackage ./firefoxPlugins/ublock.nix {};
|
||||
vimperator = callPackage ./firefoxPlugins/vimperator.nix {};
|
||||
};
|
||||
realwallpaper = callPackage ./realwallpaper.nix {};
|
||||
}
|
||||
|
@ -25,6 +25,7 @@
|
||||
../2configs/Reaktor/simpleExtend.nix
|
||||
../2configs/Reaktor/random-emoji.nix
|
||||
../2configs/Reaktor/titlebot.nix
|
||||
../2configs/Reaktor/shack-correct.nix
|
||||
|
||||
../2configs/exim-retiolum.nix
|
||||
../2configs/urlwatch.nix
|
||||
@ -35,7 +36,7 @@
|
||||
krebs.Reaktor.debug = true;
|
||||
krebs.Reaktor.nickname = "Reaktor|bot";
|
||||
krebs.Reaktor.extraEnviron = {
|
||||
REAKTOR_CHANNELS = "#krebs,#binaergewitter";
|
||||
REAKTOR_CHANNELS = "#krebs,#binaergewitter,#shackspace";
|
||||
};
|
||||
|
||||
krebs.build.host = config.krebs.hosts.pnp;
|
||||
|
20
makefu/2configs/Reaktor/shack-correct.nix
Normal file
20
makefu/2configs/Reaktor/shack-correct.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
script = pkgs.substituteAll ( {
|
||||
name="shack-correct";
|
||||
isExecutable=true;
|
||||
dir = "";
|
||||
src = ./shack-correct.sh;
|
||||
});
|
||||
in {
|
||||
krebs.Reaktor.extraConfig = ''
|
||||
public_commands.insert(0,{
|
||||
'capname' : "shack-correct",
|
||||
'pattern' : '^(?P<args>.*Shack.*)$$',
|
||||
'argv' : ["${script}"],
|
||||
'env' : { }})
|
||||
'';
|
||||
}
|
||||
|
6
makefu/2configs/Reaktor/shack-correct.sh
Normal file
6
makefu/2configs/Reaktor/shack-correct.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
set -eu
|
||||
printf "Sie meinten wohl \""
|
||||
echo -n $@ | sed 's/Shack/shack/g'
|
||||
echo "\""
|
||||
echo "${_from}--"
|
@ -64,13 +64,11 @@ let
|
||||
environment.systemPackages = [ pkgs.tinc_graphs];
|
||||
systemd.timers.tinc_graphs = {
|
||||
description = "Build Tinc Graphs via via timer";
|
||||
|
||||
wantedBy = [ "timers.target"];
|
||||
timerConfig = cfg.timerConfig;
|
||||
};
|
||||
systemd.services.tinc_graphs = {
|
||||
description = "Build Tinc Graphs";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
environment = {
|
||||
EXTERNAL_FOLDER = external_dir;
|
||||
INTERNAL_FOLDER = internal_dir;
|
||||
|
Loading…
Reference in New Issue
Block a user