updates / experimental TC setup
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
enable = true;
|
||||
package = pkgs.espanso-wayland;
|
||||
};
|
||||
hypridle.enable = true;
|
||||
printing.enable = true;
|
||||
gvfs.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
@@ -30,10 +29,17 @@
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
publish = {
|
||||
addresses = true;
|
||||
workstation = true;
|
||||
userServices = true;
|
||||
# Avahi options were migrated to the freeform `settings`
|
||||
# (avahi-daemon.conf) tree in nixpkgs; `publish.userServices` was
|
||||
# dropped upstream.
|
||||
settings.publish = {
|
||||
# master switch: defaults to true (publishing off) in the new
|
||||
# settings tree — the old `publish.*` options implied publishing on.
|
||||
disable-publishing = false;
|
||||
publish-addresses = true;
|
||||
publish-workstation = true;
|
||||
# replacement for the obsolete `publish.userServices = true;`
|
||||
disable-user-service-publishing = false;
|
||||
};
|
||||
};
|
||||
asusd = {
|
||||
|
||||
@@ -31,12 +31,24 @@ in {
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStartPre = ["${wait-for-printer}/bin/wait-for-printer"];
|
||||
# Als ExecStart (nicht ExecStartPre!): ohne ExecStart ist die Unit
|
||||
# ungueltig und systemd laedt sie gar nicht ("bad unit file setting").
|
||||
ExecStart = "${wait-for-printer}/bin/wait-for-printer";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "30s";
|
||||
};
|
||||
};
|
||||
|
||||
# CUPS erst starten, wenn der Drucker erreichbar ist (Gate via ensure-printers).
|
||||
# cups-post-start fuehrt lpadmin aus und schlaegt fehl, solange NetBird beim
|
||||
# Boot noch nicht steht -> Restart-Schleife -> start-limit-hit von
|
||||
# cups.service und cups.socket. Ist der Drucker nicht erreichbar (unterwegs),
|
||||
# startet CUPS trotzdem (Wants, kein Requires) wie bisher.
|
||||
systemd.services.cups = {
|
||||
wants = ["ensure-printers.service"];
|
||||
after = ["ensure-printers.service"];
|
||||
};
|
||||
|
||||
services.printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [
|
||||
|
||||
@@ -10,10 +10,36 @@
|
||||
|
||||
az.tc = {
|
||||
enable = true;
|
||||
hardwareClass = "dell-optiplex-micro";
|
||||
hardwareClass = "generic-x86_64-uefi";
|
||||
# Staging mode silences placeholder-warnings (real SSID, hotline,
|
||||
# company name) until we have the final corp values.
|
||||
site = "staging";
|
||||
|
||||
features = {
|
||||
ad = true;
|
||||
wifi = true;
|
||||
};
|
||||
|
||||
ad = {
|
||||
domain = "az-group.local";
|
||||
realm = "AZ-GROUP.LOCAL";
|
||||
ou = "CN=Computers,DC=az-group,DC=local";
|
||||
domainControllers = [
|
||||
{
|
||||
host = "azdc01.az-group.local";
|
||||
address = "192.168.152.253";
|
||||
}
|
||||
{
|
||||
host = "adpdc01.az-group.local";
|
||||
address = "192.168.152.254";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
wifi = {
|
||||
mode = "psk";
|
||||
ssid = "Pluto";
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = "AZ-TC-01";
|
||||
|
||||
@@ -37,7 +37,9 @@
|
||||
|
||||
inputs.m3ta-nixpkgs.overlays.default
|
||||
inputs.m3ta-nixpkgs.overlays.modifications
|
||||
(outputs.lib.mkLlmAgentsOverlay system)
|
||||
inputs.llm-agents.overlays.shared-nixpkgs
|
||||
# Local fixes on top of llm-agents — MUST stay after shared-nixpkgs.
|
||||
outputs.overlays.llm-agents-overrides
|
||||
# You can also add overlays exported from other flakes:
|
||||
# neovim-nightly-overlay.overlays.default
|
||||
|
||||
@@ -57,7 +59,7 @@
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
experimental-features = ["nix-command flakes"];
|
||||
cores = 2;
|
||||
max-jobs = 8;
|
||||
trusted-users = [
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
starship.enable = true;
|
||||
};
|
||||
cliTools = {
|
||||
fzf.enable = true;
|
||||
fzf.enable = false;
|
||||
nitch.enable = true;
|
||||
television.enable = true;
|
||||
};
|
||||
@@ -63,7 +63,6 @@
|
||||
desktop = {
|
||||
wm = {
|
||||
hyprland.enable = true;
|
||||
rofi.enable = true;
|
||||
wayland.enable = true;
|
||||
dms.enable = true;
|
||||
};
|
||||
@@ -94,6 +93,7 @@
|
||||
};
|
||||
profiles.media = {
|
||||
obs.enable = true;
|
||||
graphics.enable = true;
|
||||
ffmpeg.enable = true;
|
||||
kdenlive.enable = true;
|
||||
ytDlp.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user