formatting

This commit is contained in:
Osman Faruk Bayram 2025-02-25 19:34:07 +03:00
parent de825eb4dc
commit e5357f7099
4 changed files with 21 additions and 22 deletions

View file

@ -69,7 +69,6 @@
harmonica = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/harmonica/configuration.nix
];
};

View file

@ -1,11 +1,11 @@
{...}:
let
{...}: let
# define a block that just takes a hostname and returns attrset to not repeat the same fields
sshBlock = hostname: {
hostname = hostname;
user = "osbm";
identityFile = "/home/osbm/.ssh/id_ed25519";
extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
extraOptions = {
# [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
"RemoteCommand" = "fish";
"RequestTTY" = "force";
};
@ -18,8 +18,7 @@ let
port = 8022;
# fish not found error ???
};
in
{
in {
programs.ssh = {
enable = true;
hashKnownHosts = true;

View file

@ -1,5 +1,8 @@
{pkgs, lib, ...}: {
{
pkgs,
lib,
...
}: {
# Some packages (ahci fail... this bypasses that) https://discourse.nixos.org/t/does-pkgs-linuxpackages-rpi3-build-all-required-kernel-modules/42509
nixpkgs.overlays = [
(final: super: {
@ -74,6 +77,5 @@
swraid.enable = lib.mkForce false;
};
nixpkgs.hostPlatform = "aarch64-linux";
}
}

View file

@ -101,19 +101,18 @@
};
services.open-webui = {
enable = true;
port = 7070;
host = "0.0.0.0";
openFirewall = true;
environment = {
SCARF_NO_ANALYTICS = "True";
DO_NOT_TRACK = "True";
ANONYMIZED_TELEMETRY = "False";
WEBUI_AUTH = "False";
ENABLE_LOGIN_FORM = "False";
};
enable = true;
port = 7070;
host = "0.0.0.0";
openFirewall = true;
environment = {
SCARF_NO_ANALYTICS = "True";
DO_NOT_TRACK = "True";
ANONYMIZED_TELEMETRY = "False";
WEBUI_AUTH = "False";
ENABLE_LOGIN_FORM = "False";
};
};
system.stateVersion = "25.05"; # great taboo of the nixos world
}