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:
|
# Declare a generic configuration using the $hostname variable:
|
||||||
${hostname} = lib.nixosSystem {
|
${hostname} = lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit unstable; };
|
specialArgs = {
|
||||||
|
inherit unstable;
|
||||||
|
inherit hostname;
|
||||||
|
};
|
||||||
modules = [
|
modules = [
|
||||||
# Configuration Imports
|
# Configuration Imports
|
||||||
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, hostname, ... }: {
|
||||||
# Promtail Logging
|
# Promtail Logging
|
||||||
|
|
||||||
sops.secrets.promtail-pass = {
|
sops.secrets.promtail-pass = {
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
max_age = "12h";
|
max_age = "12h";
|
||||||
labels = {
|
labels = {
|
||||||
job = "systemd-journal";
|
job = "systemd-journal";
|
||||||
host = "nixos-p1";
|
host = "${hostname}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
relabel_configs = [{
|
relabel_configs = [{
|
||||||
|
|
Loading…
Reference in a new issue