This commit is contained in:
iFargle 2023-07-04 20:06:45 +09:00
parent fbd8f13979
commit 417f88fe0c
3 changed files with 4 additions and 8 deletions

View file

@ -57,7 +57,7 @@
# Password set via wpa_supplicant command # Password set via wpa_supplicant command
# https://nixos.org/manual/nixos/unstable/index.html#sec-wireless # https://nixos.org/manual/nixos/unstable/index.html#sec-wireless
wireless.networks = { # Use nix-sops for this wireless.networks = { # Use nix-sops for this
copeland-5g.psk = "5b43054e4c927ecd94cf19103fa80a7ce99ca69f27cdd75026be3c261d7f78cb"; copeland-5g.psk = config.sops.secrets.wireless.copeland-5g.psk.path;
}; };
enableIPv6 = false; enableIPv6 = false;

View file

@ -16,9 +16,6 @@
lanzaboote.url = "github:nix-community/lanzaboote"; lanzaboote.url = "github:nix-community/lanzaboote";
lanzaboote.inputs.nixpkgs.follows = "stable-nixpkgs"; lanzaboote.inputs.nixpkgs.follows = "stable-nixpkgs";
# Firefox Overlay
# moz_overlay.url = "github:mozilla/nixpkgs-mozilla";
# Nix User Repository # Nix User Repository
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
@ -69,7 +66,6 @@
home-manager.users.albert = import ./users/albert/home.nix; home-manager.users.albert = import ./users/albert/home.nix;
home-manager.users.root = import ./users/root/home.nix; home-manager.users.root = import ./users/root/home.nix;
nixpkgs.overlays = [ nixpkgs.overlays = [
# moz_overlay.overlay
nur.overlay nur.overlay
]; ];
} }

View file

@ -27,10 +27,10 @@
filename = "/tmp/positions.yaml"; filename = "/tmp/positions.yaml";
}; };
clients = [{ clients = [{
url = "https://loki.sysctl.io/loki/api/v1/push"; url = config.sops.secrets.promtail.url.path;
basic_auth = { basic_auth = {
username = "loki-sa"; username = config.sops.secrets.promtail.user.path;
password = null; # https://nixos.wiki/wiki/Comparison_of_secret_managing_schemes; password = config.sops.secrets.promtail.pass.path;
}; };
}]; }];
scrape_configs = [{ scrape_configs = [{