mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
Add ai and local address
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
./../../modules/common/sops.nix
|
./../../modules/common/sops.nix
|
||||||
|
|
||||||
./../../modules/services/webdav.nix
|
./../../modules/services/webdav.nix
|
||||||
|
./../../modules/services/ai.nix
|
||||||
|
|
||||||
./../../modules/graphics/workstation.nix
|
./../../modules/graphics/workstation.nix
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
programs.nix-ld.enable = true; # Linking support
|
programs.nix-ld.enable = true; # Linking support
|
||||||
|
|
||||||
|
# For local domains in link locals and other goods
|
||||||
|
services.avahi.enable = true;
|
||||||
|
services.avahi.nssmdns4 = true;
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
|||||||
5
modules/services/ai.nix
Normal file
5
modules/services/ai.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.ollama.enable = true;
|
||||||
|
}
|
||||||
@@ -6,6 +6,4 @@
|
|||||||
hardware.sane.extraBackends = [ pkgs.sane-airscan ];
|
hardware.sane.extraBackends = [ pkgs.sane-airscan ];
|
||||||
hardware.sane.disabledDefaultBackends = [ "escl" ];
|
hardware.sane.disabledDefaultBackends = [ "escl" ];
|
||||||
services.udev.packages = [ pkgs.sane-airscan ];
|
services.udev.packages = [ pkgs.sane-airscan ];
|
||||||
services.avahi.enable = true;
|
|
||||||
services.avahi.nssmdns4 = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user