test
This commit is contained in:
parent
aefe06468d
commit
3f1490483d
2 changed files with 6 additions and 3 deletions
|
@ -47,7 +47,10 @@
|
|||
# Declare a generic configuration using the $hostname variable:
|
||||
${hostname} = lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit unstable; };
|
||||
specialArgs = {
|
||||
inherit unstable;
|
||||
inherit hostname;
|
||||
};
|
||||
modules = [
|
||||
# Configuration Imports
|
||||
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, hostname, ... }: {
|
||||
# Promtail Logging
|
||||
|
||||
sops.secrets.promtail-pass = {
|
||||
|
@ -37,7 +37,7 @@
|
|||
max_age = "12h";
|
||||
labels = {
|
||||
job = "systemd-journal";
|
||||
host = "nixos-p1";
|
||||
host = "${hostname}";
|
||||
};
|
||||
};
|
||||
relabel_configs = [{
|
||||
|
|
Loading…
Reference in a new issue