14 lines
618 B
Nix
14 lines
618 B
Nix
|
|
# 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
|
||
|
|
# from the Sway bar -- see lyrathorpe/home/sway.nix.
|
||
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
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;
|
||
|
|
}
|