added AZPIPRODUKTION / restructure user folders
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
in {
|
||||
virtualisation.oci-containers.containers.${serviceName} = {
|
||||
#image = "ghcr.io/berriai/litellm:v1.78.5-stable";
|
||||
image = "ghcr.io/berriai/litellm:v1.80.0-stable";
|
||||
image = "docker.litellm.ai/berriai/litellm:v1.80.15-stable";
|
||||
ports = ["127.0.0.1:${toString servicePort}:4000"];
|
||||
environmentFiles = [config.age.secrets.litellm-env.path];
|
||||
environment = {
|
||||
@@ -18,7 +18,7 @@ in {
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
STORE_MODEL_IN_DB = "True";
|
||||
};
|
||||
volumes = [ "/var/lib/litellm/config.yaml:/app/config.yaml" ];
|
||||
volumes = ["/var/lib/litellm/config.yaml:/app/config.yaml"];
|
||||
extraOptions = ["--add-host=postgres:10.89.0.1" "--ip=10.89.0.30" "--network=web"];
|
||||
};
|
||||
|
||||
|
||||
@@ -14,15 +14,25 @@
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.initrd.kernelModules = ["amdgpu" "hid_asus"];
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_18;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelParams = ["pcie_aspm=off"];
|
||||
boot.extraModprobeConfig = ''
|
||||
options hid_asus enable_touchpad=1
|
||||
options mt7925e disable_aspm=1
|
||||
options mt7925_common disable_clc=1
|
||||
'';
|
||||
services.xserver.videoDrivers = ["amdgpu"];
|
||||
security.polkit.enable = true;
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
wireless.iwd.enable = true;
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
wifi = {
|
||||
backend = "iwd";
|
||||
powersave = false;
|
||||
};
|
||||
};
|
||||
hostName = "AZLT124-L";
|
||||
};
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
users."sascha.koenig" = import ../../home/sascha.koenig/AZLT124-L.nix;
|
||||
users."sascha.koenig" = import ../../home/users/sascha.koenig/AZLT124-L.nix;
|
||||
};
|
||||
|
||||
# Configure nixpkgs to use unstable
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
file = ../../secrets/outline-key.age;
|
||||
owner = "sascha.koenig";
|
||||
};
|
||||
ref-key = {
|
||||
file = ../../secrets/ref-key.age;
|
||||
owner = "sascha.koenig";
|
||||
};
|
||||
exa-key = {
|
||||
file = ../../secrets/exa-key.age;
|
||||
owner = "sascha.koenig";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ in {
|
||||
xdg.portal = {
|
||||
# xdg desktop intergration (required for flatpak)
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-hyprland
|
||||
];
|
||||
|
||||
@@ -23,5 +23,5 @@
|
||||
packages = [inputs.home-manager.packages.${pkgs.stdenv.hostPlatform.system}.default];
|
||||
};
|
||||
home-manager.users."jannik.mueller" =
|
||||
import ../../../home/jannik.mueller/${config.networking.hostName}.nix;
|
||||
import ../../../home/users/jannik.mueller/${config.networking.hostName}.nix;
|
||||
}
|
||||
|
||||
@@ -25,5 +25,5 @@
|
||||
packages = [inputs.home-manager.packages.${pkgs.stdenv.hostPlatform.system}.default];
|
||||
};
|
||||
home-manager.users."sascha.koenig" =
|
||||
import ../../../home/sascha.koenig/${config.networking.hostName}.nix;
|
||||
import ../../../home/users/sascha.koenig/${config.networking.hostName}.nix;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user