2026-06-04 13:57:44 +00:00
|
|
|
# Desktop (non-portable) NixOS hosts. Counterpart to ./laptop.nix: imports the
|
|
|
|
|
# shared ./workstation.nix base and swaps the mobile Wi-Fi backend for wired
|
|
|
|
|
# NetworkManager. A desktop host also sets `portable = false` in its host-table
|
|
|
|
|
# entry (flake.nix), which drops the battery block and brightness keybindings
|
2026-06-29 13:06:23 +01:00
|
|
|
# from the Sway bar -- see home/sway.nix.
|
2026-06-04 13:57:44 +00:00
|
|
|
{ ... }:
|
|
|
|
|
{
|
|
|
|
|
imports = [ ./workstation.nix ];
|
|
|
|
|
|
|
|
|
|
# Wired networking. NetworkManager handles DHCP/connections itself; do not
|
|
|
|
|
# combine with networking.wireless.* (laptop.nix) -- the two backends conflict.
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
}
|