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 { hostsArchive = mkOption {
type = types.package; type = types.package;
default = pkgs.runCommand "retiolum-hosts.tar.bz2" {} '' default = pkgs.runCommand "retiolum-hosts.tar.bz2" {} ''
${pkgs.coreutils}/bin/ln -s ${tinc.config.hostsPackage} hosts cp \
${pkgs.gnutar}/bin/tar -hcjf $out hosts --no-preserve=mode \
--recursive \
${tinc.config.hostsPackage} \
hosts
${pkgs.gnutar}/bin/tar -cjf $out hosts
''; '';
readOnly = true; readOnly = true;
}; };

View File

@ -3,6 +3,7 @@
./charybdis ./charybdis
./dnsmasq.nix ./dnsmasq.nix
./ejabberd ./ejabberd
./focus.nix
./hosts.nix ./hosts.nix
./iptables.nix ./iptables.nix
./slock.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";
}