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