From 59940cb436215341e33f591d7994e975ed4bf61d Mon Sep 17 00:00:00 2001 From: nin Date: Wed, 6 Sep 2017 00:56:26 +0200 Subject: nin: allow icmp6 --- nin/2configs/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nin') diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix index 212fd368e..68521c6dd 100644 --- a/nin/2configs/default.nix +++ b/nin/2configs/default.nix @@ -158,6 +158,7 @@ with import ; filter.INPUT.rules = [ { predicate = "-m conntrack --ctstate RELATED,ESTABLISHED"; target = "ACCEPT"; precedence = 10001; } { predicate = "-p icmp"; target = "ACCEPT"; precedence = 10000; } + { predicate = "-p ipv6-icmp"; target = "ACCEPT"; v4 = false; precedence = 10000; } { predicate = "-i lo"; target = "ACCEPT"; precedence = 9999; } { predicate = "-p tcp --dport 22"; target = "ACCEPT"; precedence = 9998; } { predicate = "-p tcp -i retiolum"; target = "REJECT --reject-with tcp-reset"; precedence = -10000; } -- cgit v1.2.3 From 036bd54f3142ba05409b742a809c3082176e4596 Mon Sep 17 00:00:00 2001 From: nin Date: Wed, 6 Sep 2017 00:57:28 +0200 Subject: nin: add skype --- nin/1systems/hiawatha/config.nix | 1 + nin/2configs/skype.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 nin/2configs/skype.nix (limited to 'nin') diff --git a/nin/1systems/hiawatha/config.nix b/nin/1systems/hiawatha/config.nix index 0e48b41c2..31b6abe43 100644 --- a/nin/1systems/hiawatha/config.nix +++ b/nin/1systems/hiawatha/config.nix @@ -15,6 +15,7 @@ with lib; + ]; krebs.build.host = config.krebs.hosts.hiawatha; diff --git a/nin/2configs/skype.nix b/nin/2configs/skype.nix new file mode 100644 index 000000000..621dfae82 --- /dev/null +++ b/nin/2configs/skype.nix @@ -0,0 +1,27 @@ +{ config, lib, pkgs, ... }: + +let + mainUser = config.users.extraUsers.nin; + inherit (import ) genid; + +in { + users.extraUsers = { + skype = { + name = "skype"; + uid = genid "skype"; + description = "user for running skype"; + home = "/home/skype"; + useDefaultShell = true; + extraGroups = [ "audio" "video" ]; + createHome = true; + }; + }; + + krebs.per-user.skype.packages = [ + pkgs.skype + ]; + + security.sudo.extraConfig = '' + ${mainUser.name} ALL=(skype) NOPASSWD: ALL + ''; +} -- cgit v1.2.3 From 8c46da0bbf50a89438b2928e9830bc3e59bb46e5 Mon Sep 17 00:00:00 2001 From: nin Date: Thu, 14 Sep 2017 23:06:24 +0200 Subject: nin nixpkgs: 799435b -> 9e7db9a --- nin/source.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nin') diff --git a/nin/source.nix b/nin/source.nix index 183c71bae..52881a352 100644 --- a/nin/source.nix +++ b/nin/source.nix @@ -14,6 +14,6 @@ in stockholm.file = toString ; nixpkgs.git = { url = https://github.com/nixos/nixpkgs; - ref = "799435b"; + ref = "9e7db9a"; }; } -- cgit v1.2.3 From 7a7d085d33e1aa8e97f9f91d0fe53a1e378ce75e Mon Sep 17 00:00:00 2001 From: nin Date: Fri, 29 Sep 2017 19:10:33 +0200 Subject: nin nixpkgs 9e7d9a -> 9824ca6 --- nin/source.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nin') diff --git a/nin/source.nix b/nin/source.nix index 52881a352..2c80afaaa 100644 --- a/nin/source.nix +++ b/nin/source.nix @@ -14,6 +14,6 @@ in stockholm.file = toString ; nixpkgs.git = { url = https://github.com/nixos/nixpkgs; - ref = "9e7db9a"; + ref = "9824ca6"; }; } -- cgit v1.2.3 From b9d4a986d7abd392f34272c51f204879b8246680 Mon Sep 17 00:00:00 2001 From: nin Date: Tue, 24 Oct 2017 21:43:33 +0200 Subject: n 2 default: update binary-cache --- nin/2configs/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'nin') diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix index 68521c6dd..e7bd78eb6 100644 --- a/nin/2configs/default.nix +++ b/nin/2configs/default.nix @@ -4,6 +4,7 @@ with import ; { imports = [ ../2configs/vim.nix + { users.extraUsers = mapAttrs (_: h: { hashedPassword = h; }) @@ -45,12 +46,6 @@ with import ; SSL_CERT_FILE = ca-bundle; }; }) - { - nix = { - binaryCaches = ["http://cache.prism.r"]; - binaryCachePublicKeys = ["cache.prism-1:+S+6Lo/n27XEtvdlQKuJIcb1yO5NUqUCE2lolmTgNJU="]; - }; - } ]; networking.hostName = config.krebs.build.host.name; -- cgit v1.2.3 From 28c882a74a4a8cd43267b07aee76ccfe55818a0c Mon Sep 17 00:00:00 2001 From: nin Date: Tue, 24 Oct 2017 21:45:52 +0200 Subject: nin hiawatha firefox: remove flash --- nin/1systems/hiawatha/config.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nin') diff --git a/nin/1systems/hiawatha/config.nix b/nin/1systems/hiawatha/config.nix index 31b6abe43..fdae354ff 100644 --- a/nin/1systems/hiawatha/config.nix +++ b/nin/1systems/hiawatha/config.nix @@ -99,10 +99,6 @@ with lib; allowUnfree = true; - firefox = { - enableGoogleTalkPlugin = true; - enableAdobeFlash = true; - }; }; #services.logind.extraConfig = "HandleLidSwitch=ignore"; -- cgit v1.2.3 From bac616c2cb18950b6dfad07da7481c679233c1c6 Mon Sep 17 00:00:00 2001 From: nin Date: Tue, 24 Oct 2017 21:48:35 +0200 Subject: n 2 default: add pavucontrol --- nin/2configs/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nin') diff --git a/nin/2configs/default.nix b/nin/2configs/default.nix index e7bd78eb6..0d2253c27 100644 --- a/nin/2configs/default.nix +++ b/nin/2configs/default.nix @@ -91,6 +91,7 @@ with import ; gnumake jq proot + pavucontrol populate p7zip termite -- cgit v1.2.3 From 458bd5f6bda5b5718959613ceb989862a530ed7b Mon Sep 17 00:00:00 2001 From: nin Date: Tue, 24 Oct 2017 21:52:28 +0200 Subject: n nixpkgs: 9824ca6 -> c99239b --- nin/source.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nin') diff --git a/nin/source.nix b/nin/source.nix index 2c80afaaa..188ebafcc 100644 --- a/nin/source.nix +++ b/nin/source.nix @@ -14,6 +14,6 @@ in stockholm.file = toString ; nixpkgs.git = { url = https://github.com/nixos/nixpkgs; - ref = "9824ca6"; + ref = "c99239b"; }; } -- cgit v1.2.3