Run formatter
This commit is contained in:
parent
04163b2c79
commit
e863aea052
7 changed files with 36 additions and 25 deletions
|
|
@ -2,7 +2,12 @@
|
||||||
/**
|
/**
|
||||||
Make a NetworkManager wifi profile, to be used with ensureProfiles
|
Make a NetworkManager wifi profile, to be used with ensureProfiles
|
||||||
*/
|
*/
|
||||||
mkWifiProfile = {id, ssid, priority ? 0, wifi-security}: {
|
mkWifiProfile = {
|
||||||
|
id,
|
||||||
|
ssid,
|
||||||
|
priority ? 0,
|
||||||
|
wifi-security,
|
||||||
|
}: {
|
||||||
connection = {
|
connection = {
|
||||||
inherit id;
|
inherit id;
|
||||||
type = "wifi";
|
type = "wifi";
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.grafana.provision = {
|
services.grafana.provision = {
|
||||||
datasources.settings.datasources = [{
|
datasources.settings.datasources = [
|
||||||
|
{
|
||||||
name = "Prometheus";
|
name = "Prometheus";
|
||||||
type = "prometheus";
|
type = "prometheus";
|
||||||
url = "http://127.0.0.1:${builtins.toString config.services.prometheus.port}";
|
url = "http://127.0.0.1:${builtins.toString config.services.prometheus.port}";
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{config, pkgs, ...}: let
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
transmissionUid = toString config.users.users.transmission.uid;
|
transmissionUid = toString config.users.users.transmission.uid;
|
||||||
transmissionGid = toString config.users.groups.transmission.gid;
|
transmissionGid = toString config.users.groups.transmission.gid;
|
||||||
mountPoint = config.fileSystems."nfs_transmission".mountPoint;
|
mountPoint = config.fileSystems."nfs_transmission".mountPoint;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue