Merge remote-tracking branch 'ni/master'

This commit is contained in:
lassulus 2019-09-11 14:57:39 +02:00
commit 8cb8de31d0
3 changed files with 11 additions and 2 deletions

View File

@ -110,8 +110,12 @@ let
hostsArchive = mkOption {
type = types.package;
default = pkgs.runCommand "retiolum-hosts.tar.bz2" {} ''
${pkgs.coreutils}/bin/ln -s ${tinc.config.hostsPackage} hosts
${pkgs.gnutar}/bin/tar -hcjf $out hosts
cp \
--no-preserve=mode \
--recursive \
${tinc.config.hostsPackage} \
hosts
${pkgs.gnutar}/bin/tar -cjf $out hosts
'';
readOnly = true;
};

View File

@ -3,6 +3,7 @@
./charybdis
./dnsmasq.nix
./ejabberd
./focus.nix
./hosts.nix
./iptables.nix
./slock.nix

4
tv/3modules/focus.nix Normal file
View File

@ -0,0 +1,4 @@
with import <stockholm/lib>;
{
options.tv.focus.enable = mkEnableOption "tv.focus";
}