modules: remove nixpath-style imports
This commit is contained in:
parent
4dd3763d03
commit
9d8d0ae0da
|
@ -7,7 +7,7 @@ _:
|
|||
./deluge.nix
|
||||
./etherpad.nix
|
||||
./forward-journal.nix
|
||||
./netdata.nix
|
||||
#./netdata.nix
|
||||
./opentracker.nix
|
||||
./ps3netsrv.nix
|
||||
./logging-config.nix
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
# based on <nixpkgs>/nixos/modules/services/torrent/deluge.nix
|
||||
with import <stockholm/lib>;
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with stockholm.lib;
|
||||
|
||||
let
|
||||
cfg_daemon = config.makefu.deluge;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with stockholm.lib;
|
||||
let
|
||||
cfg = config.makefu.forward-journal;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with stockholm.lib;
|
||||
{
|
||||
options.makefu.stats-server = lib.mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with stockholm.lib;
|
||||
let
|
||||
cfg = config.makefu.opentracker;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with stockholm.lib;
|
||||
let
|
||||
cfg = config.makefu.ps3netsrv;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with stockholm.lib;
|
||||
|
||||
let
|
||||
# returns dirname without / , used as disk name
|
||||
|
@ -101,7 +101,7 @@ let
|
|||
# for scrubbing,fixing
|
||||
pkgs.snapraid
|
||||
];
|
||||
krebs.on-failure.plans.snapraid-sync.name = "snapraid-sync";
|
||||
# krebs.on-failure.plans.snapraid-sync.name = "snapraid-sync";
|
||||
environment.etc."snapraid.conf".text = snapraid-conf;
|
||||
systemd.timers.snapraid-sync = {
|
||||
description = "snapraid sync timer";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, stockholm,... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
with lib;
|
||||
with stockholm.lib;
|
||||
let
|
||||
cfg = config.makefu.udpt;
|
||||
|
||||
|
|
Loading…
Reference in a new issue