refactor: replace WiFi service with declarative NetworkManager
- Remove unnecessary systemd.services.workshop-wifi-setup service - Remove environment.etc."NetworkManager/workshop-wifi.env" file - Add declarative networking.networkmanager.ensureProfiles configuration - Remove redundant WiFi packages (wpa_supplicant, wirelesstools, iw) - Update documentation to reflect automatic WiFi connection - Clean up bash script references to old services This simplifies the configuration and makes WiFi connection automatic on boot.
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -19,32 +19,13 @@
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
# Server names for cloud connections
|
||||
cloudServerNames = [
|
||||
"hopper"
|
||||
"curie"
|
||||
"lovelace"
|
||||
"noether"
|
||||
"hamilton"
|
||||
"franklin"
|
||||
"johnson"
|
||||
"clarke"
|
||||
"goldberg"
|
||||
"liskov"
|
||||
"wing"
|
||||
"rosen"
|
||||
"shaw"
|
||||
"karp"
|
||||
"rich"
|
||||
];
|
||||
|
||||
# Common configuration
|
||||
commonConfig =
|
||||
{
|
||||
isLiveIso ? false,
|
||||
}:
|
||||
import ./common.nix {
|
||||
inherit pkgs cloudServerNames isLiveIso;
|
||||
inherit pkgs isLiveIso;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user