From 95f6a06c5acfb6054236ea2f5aee42975dd909ec Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 26 Apr 2019 20:31:03 +0200 Subject: prison-break: move to krebs --- krebs/5pkgs/simple/prison-break/default.nix | 20 ++++++++++++++++++++ .../5pkgs/simple/prison-break/straight-plugin.nix | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 krebs/5pkgs/simple/prison-break/default.nix create mode 100644 krebs/5pkgs/simple/prison-break/straight-plugin.nix (limited to 'krebs') diff --git a/krebs/5pkgs/simple/prison-break/default.nix b/krebs/5pkgs/simple/prison-break/default.nix new file mode 100644 index 000000000..051a46184 --- /dev/null +++ b/krebs/5pkgs/simple/prison-break/default.nix @@ -0,0 +1,20 @@ +{pkgs, fetchFromGitHub}: +with pkgs.python3.pkgs; + +buildPythonPackage rec { + pname = "prison-break"; + version = "1.0.0"; + src = fetchFromGitHub { + owner = "makefu"; + repo = pname; + rev = "1.0.0"; + sha256 = "0ab42z6qr42vz4fc077irn9ykrrylagx1dzlw8dqcanf49dxd961"; + }; + propagatedBuildInputs = [ + docopt + requests + beautifulsoup4 + (callPackage ./straight-plugin.nix {}) + ]; + checkInputs = [ black ]; +} diff --git a/krebs/5pkgs/simple/prison-break/straight-plugin.nix b/krebs/5pkgs/simple/prison-break/straight-plugin.nix new file mode 100644 index 000000000..606c60b5d --- /dev/null +++ b/krebs/5pkgs/simple/prison-break/straight-plugin.nix @@ -0,0 +1,22 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "straight-plugin"; + version = "1.5.0"; + + src = fetchPypi { + pname = "straight.plugin"; + inherit version; + sha256 = "818a7641068932ed6436d0af0a3bb77bbbde29df0a7142c8bd1a249e7c2f0d38"; + }; + + meta = with lib; { + description = "A simple namespaced plugin facility"; + homepage = https://github.com/ironfroggy/straight.plugin; + license = licenses.mit; + maintainers = [ maintainers.makefu ]; + }; +} -- cgit v1.2.3 From 795ba0b57fec8fd5c7ce732a8d478c7cada762f8 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 8 May 2019 13:56:33 +0200 Subject: ma pkgs.prison-break: bump to 1.0.1 --- krebs/5pkgs/simple/prison-break/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/prison-break/default.nix b/krebs/5pkgs/simple/prison-break/default.nix index 051a46184..8c7fc65c3 100644 --- a/krebs/5pkgs/simple/prison-break/default.nix +++ b/krebs/5pkgs/simple/prison-break/default.nix @@ -3,12 +3,12 @@ with pkgs.python3.pkgs; buildPythonPackage rec { pname = "prison-break"; - version = "1.0.0"; + version = "1.0.1"; src = fetchFromGitHub { owner = "makefu"; repo = pname; - rev = "1.0.0"; - sha256 = "0ab42z6qr42vz4fc077irn9ykrrylagx1dzlw8dqcanf49dxd961"; + rev = version; + sha256 = "1q9bw1hbz0cayclixplyc85kaq05mg6n2zz8mbydljvknidd4p6a"; }; propagatedBuildInputs = [ docopt -- cgit v1.2.3 From 8f87254a2aa47630bc711c34a6322a974c6c040f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 10 May 2019 21:03:36 +0200 Subject: puyak.r: allow access from raute and ulrich --- krebs/1systems/puyak/config.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'krebs') diff --git a/krebs/1systems/puyak/config.nix b/krebs/1systems/puyak/config.nix index 67257eacd..af11c6944 100644 --- a/krebs/1systems/puyak/config.nix +++ b/krebs/1systems/puyak/config.nix @@ -73,6 +73,13 @@ system.activationScripts."disengage fancontrol" = '' echo level disengaged > /proc/acpi/ibm/fan ''; + + # to access vorstand vm + users.users.root.openssh.authorizedKeys.keys = [ + config.krebs.users.ulrich.pubkey + config.krebs.users.raute.pubkey + ]; + users.users.joerg = { openssh.authorizedKeys.keys = [ config.krebs.users.Mic92.pubkey ]; isNormalUser = true; -- cgit v1.2.3 From b65e9c07628aab89478ca634ae682ea7d07d338c Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 11 May 2019 11:34:15 +0200 Subject: pkgs.prison-break: 1.0.1 -> 1.2.0 --- krebs/5pkgs/simple/prison-break/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/prison-break/default.nix b/krebs/5pkgs/simple/prison-break/default.nix index 8c7fc65c3..672e0b3a0 100644 --- a/krebs/5pkgs/simple/prison-break/default.nix +++ b/krebs/5pkgs/simple/prison-break/default.nix @@ -3,12 +3,12 @@ with pkgs.python3.pkgs; buildPythonPackage rec { pname = "prison-break"; - version = "1.0.1"; + version = "1.2.0"; src = fetchFromGitHub { owner = "makefu"; repo = pname; rev = version; - sha256 = "1q9bw1hbz0cayclixplyc85kaq05mg6n2zz8mbydljvknidd4p6a"; + sha256 = "07wy6f06vj9s131c16gw1xl1jf9gq5xiqia8awfb26s99gxlv7l9"; }; propagatedBuildInputs = [ docopt -- cgit v1.2.3 From 135dc5297ab71045a1f58e053c4584f694988146 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 14 May 2019 09:18:08 +0200 Subject: ma pkgs.prison-break: move back to own namespace, use nur.repos.makefu.prison-break for krebs --- krebs/5pkgs/default.nix | 1 + krebs/5pkgs/simple/prison-break/default.nix | 20 -------------------- .../5pkgs/simple/prison-break/straight-plugin.nix | 22 ---------------------- 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 krebs/5pkgs/simple/prison-break/default.nix delete mode 100644 krebs/5pkgs/simple/prison-break/straight-plugin.nix (limited to 'krebs') diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index 4cdaedebf..3cb471c77 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -16,6 +16,7 @@ foldl' mergeAttrs {} reaktor2 = self.haskellPackages.reaktor2; ReaktorPlugins = self.callPackage ./simple/Reaktor/plugins.nix {}; + prison-break = nur.repos.makefu.prison-break; # https://github.com/proot-me/PRoot/issues/106 proot = self.writeDashBin "proot" '' diff --git a/krebs/5pkgs/simple/prison-break/default.nix b/krebs/5pkgs/simple/prison-break/default.nix deleted file mode 100644 index 672e0b3a0..000000000 --- a/krebs/5pkgs/simple/prison-break/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{pkgs, fetchFromGitHub}: -with pkgs.python3.pkgs; - -buildPythonPackage rec { - pname = "prison-break"; - version = "1.2.0"; - src = fetchFromGitHub { - owner = "makefu"; - repo = pname; - rev = version; - sha256 = "07wy6f06vj9s131c16gw1xl1jf9gq5xiqia8awfb26s99gxlv7l9"; - }; - propagatedBuildInputs = [ - docopt - requests - beautifulsoup4 - (callPackage ./straight-plugin.nix {}) - ]; - checkInputs = [ black ]; -} diff --git a/krebs/5pkgs/simple/prison-break/straight-plugin.nix b/krebs/5pkgs/simple/prison-break/straight-plugin.nix deleted file mode 100644 index 606c60b5d..000000000 --- a/krebs/5pkgs/simple/prison-break/straight-plugin.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib -, buildPythonPackage -, fetchPypi -}: - -buildPythonPackage rec { - pname = "straight-plugin"; - version = "1.5.0"; - - src = fetchPypi { - pname = "straight.plugin"; - inherit version; - sha256 = "818a7641068932ed6436d0af0a3bb77bbbde29df0a7142c8bd1a249e7c2f0d38"; - }; - - meta = with lib; { - description = "A simple namespaced plugin facility"; - homepage = https://github.com/ironfroggy/straight.plugin; - license = licenses.mit; - maintainers = [ maintainers.makefu ]; - }; -} -- cgit v1.2.3 From 66ade66c5d1932ebac8aa73d9078c73599da8cde Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 14 May 2019 20:34:20 +0200 Subject: pkgs.prison-break: drop from krebs namespace --- krebs/5pkgs/default.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'krebs') diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index 3cb471c77..4cdaedebf 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -16,7 +16,6 @@ foldl' mergeAttrs {} reaktor2 = self.haskellPackages.reaktor2; ReaktorPlugins = self.callPackage ./simple/Reaktor/plugins.nix {}; - prison-break = nur.repos.makefu.prison-break; # https://github.com/proot-me/PRoot/issues/106 proot = self.writeDashBin "proot" '' -- cgit v1.2.3 From f541eae020a229b99afe531139be246f8aecb695 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 15 May 2019 16:06:44 +0200 Subject: external/hosts: add horisa host of ulrich which weirdly is in the krebs/retiolum repo, but not in our hosts --- krebs/3modules/external/default.nix | 14 ++++++++++++++ krebs/3modules/external/tinc/horisa.pub | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 krebs/3modules/external/tinc/horisa.pub (limited to 'krebs') diff --git a/krebs/3modules/external/default.nix b/krebs/3modules/external/default.nix index 9bfc920a3..080c259aa 100644 --- a/krebs/3modules/external/default.nix +++ b/krebs/3modules/external/default.nix @@ -167,6 +167,20 @@ in { }; }; }; + horisa = { + cores = 2; + owner = config.krebs.users.ulrich; # main laptop + nets = { + retiolum = { + ip4.addr = "10.243.226.213"; + ip6.addr = "42:0:e644:9099:4f8:b9aa:3856:4e85"; + aliases = [ + "horisa.r" + ]; + tinc.pubkey = tinc-for "horisa"; + }; + }; + }; idontcare = { owner = config.krebs.users.Mic92; nets = rec { diff --git a/krebs/3modules/external/tinc/horisa.pub b/krebs/3modules/external/tinc/horisa.pub new file mode 100644 index 000000000..06d686ce3 --- /dev/null +++ b/krebs/3modules/external/tinc/horisa.pub @@ -0,0 +1,8 @@ +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEA1hhBqCku98gimv0yXr6DFwE2HUemigyqX8o7IsPOW5XT/K8o+V40 +Oxk3r0+c7IYREvug/raxoullf5TMJFzTzqzX4njgsiTs25V8D7hVT4jcRKTcXmBn +XpjtD+tIeDW1E6dIMMDbxKCyfd/qaeg83G7gPobeFYr4JNqQLXrnotlWMO9S13UT ++EgSP2pixv/dGIqX8WRg23YumO8jZKbso/sKKFMIEOJvnh/5EcWb24+q2sDRCitP +sWJ5j/9M1Naec/Zl27Ac2HyMWRk39F9Oo+iSbc47QvjKTEmn37P4bBg3hY9FSSFo +M90wG/NRbw1Voz6BgGlwOAoA+Ln0rVKqDQIDAQAB +-----END RSA PUBLIC KEY----- -- cgit v1.2.3