modules: remove nixpath-style imports

This commit is contained in:
makefu 2023-06-13 00:28:45 +02:00
parent 4dd3763d03
commit 9d8d0ae0da
8 changed files with 18 additions and 17 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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";

View file

@ -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;