0227f9d3ef
Move the form-factor-agnostic settings (systemd-boot, swayDesktop, dvorak console, firewall) into a shared workstation.nix so laptop.nix and the new desktop.nix can both import them without drifting. laptop.nix keeps only the iwd Wi-Fi backend. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
584 B
Nix
16 lines
584 B
Nix
# Portable NixOS hosts (X1, MBP-Asahi). Imported from the host table in
|
|
# flake.nix. Shared graphical-workstation settings live in ./workstation.nix;
|
|
# the only laptop-specific bit is the Wi-Fi backend. Mobile home-manager
|
|
# components (battery block, brightness keys) are gated by the `portable` flag
|
|
# threaded through mkHost -- see lyrathorpe/home/sway.nix.
|
|
{ ... }:
|
|
{
|
|
imports = [ ./workstation.nix ];
|
|
|
|
# Wi-Fi via iwd with its built-in DHCP/network configuration.
|
|
networking.wireless.iwd = {
|
|
enable = true;
|
|
settings.General.EnableNetworkConfiguration = true;
|
|
};
|
|
}
|