Compare commits

..

No commits in common. "2758be3937b52dc38495e8730ae2b3f68fec01ed" and "a6df154f43c8b50c2af5ff54f5404dbf2eaa6ca6" have entirely different histories.

6 changed files with 3 additions and 49 deletions

View File

@ -1,13 +0,0 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
let
folder = ./cachix;
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
inherit imports;
nix.settings.substituters = ["https://cache.nixos.org/"];
}

View File

@ -1,13 +0,0 @@
{
nix = {
settings = {
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
}

View File

@ -40,16 +40,8 @@
allowUnfree = true;
};
cachixOverlay = final: prev: {
nixosModules = (prev.nixosModules or { }) // {
cachixConfig = import ./cachix.nix;
};
};
extOverlays = [
(nvidia-patch.overlays.default)
cachixOverlay
];
importNixpkgs = { flake }:
@ -75,14 +67,7 @@
in
import nixpkgs {
inherit system config;
overlays = additionalOverlays ++ extOverlays ++ [
(final: prev: {
ctranslate2 = prev.ctranslate2.override {
withCUDA = true;
withCuDNN = true;
};
})
];
overlays = additionalOverlays ++ extOverlays;
};
wrapUtils = { pkgs }:

View File

@ -15,7 +15,7 @@ in
enable = true;
uri = "tcp://127.0.0.1:${toString whisperPort}";
model = "large-v3";
device = "cuda";
device = "auto";
language = "en";
};
};
@ -24,7 +24,6 @@ in
enable = true;
uri = "tcp://127.0.0.1:${toString piperPort}";
voice = "en-us-ryan-medium";
lengthScale = 0.63;
};
};
};
@ -45,7 +44,6 @@ in
};
default_config = { };
automation = "!include automations.yaml";
frontend.themes = "!include_dir_merge_named themes";
binary_sensor = [{
platform = "template";
sensors = {
@ -1103,8 +1101,6 @@ in
"mqtt_json"
"mqtt_room"
"mqtt_statestream"
"github"
"webostv"
];
extraPackages = python3Packages: with python3Packages; [
pkgs.openai-whisper

View File

@ -11,7 +11,7 @@ in
};
architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" "lan" ];
dnsInterfaces = [ "tailscale" ];
locations."/" = {
port = 7878;
allowLan = true;

View File

@ -42,7 +42,6 @@
home-manager.nixosModules.home-manager
../hosts/${name}/default.nix
pkgs.nixosModules.cachixConfig
];
};
}