la till beets och fixade med ip

This commit is contained in:
fwastring 2025-12-16 21:55:33 +01:00
parent b14b30ec0b
commit 7b9a87a250
7 changed files with 87 additions and 18 deletions

View file

@ -15,6 +15,6 @@ loki.source.journal "read" {
loki.write "endpoint" {
endpoint {
url ="http://192.168.1.227:3100/loki/api/v1/push"
url ="http://192.168.1.143:3100/loki/api/v1/push"
}
}

View file

@ -51,15 +51,6 @@ in
theme = theme;
};
programs.ssh.knownHosts = {
desktop = {
extraHostNames = [ "192.168.1.227" ];
publicKeyFile = ../../keys/rsa_pubkey;
};
"192.168.1.227" = {
publicKeyFile = ../../keys/rsa_pubkey;
};
};
hyprland = {
enable = true;
theme = theme;

View file

@ -44,11 +44,22 @@ in
mode = "0440";
};
environment.systemPackages = with pkgs; [
beets
git
vim
git
vim
];
home-manager.users.fw = {
imports = [
(modulesDirectory + /programs/beets)
];
home.username = "fw";
home.homeDirectory = "/home/fw";
home.stateVersion = "26.05";
systemd.user.startServices = "sd-switch";
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
@ -59,8 +70,7 @@ in
locations."/" = {
proxyPass = "https://192.168.1.1";
proxyWebsockets = true;
extraConfig =
"proxy_ssl_server_name on;" + "proxy_pass_header Authorization;";
extraConfig = "proxy_ssl_server_name on;" + "proxy_pass_header Authorization;";
};
};
};