diff --git a/flake.nix b/flake.nix index e62b737..c4a5f3b 100644 --- a/flake.nix +++ b/flake.nix @@ -69,7 +69,6 @@ harmonica = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; modules = [ - ./hosts/harmonica/configuration.nix ]; }; diff --git a/home/ssh.nix b/home/ssh.nix index c776863..502445f 100644 --- a/home/ssh.nix +++ b/home/ssh.nix @@ -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; diff --git a/hosts/harmonica/hardware-configuration.nix b/hosts/harmonica/hardware-configuration.nix index e92338f..6627bca 100644 --- a/hosts/harmonica/hardware-configuration.nix +++ b/hosts/harmonica/hardware-configuration.nix @@ -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"; -} \ No newline at end of file +} diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index a71cfa8..5191b46 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -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 }