diff --git a/modules/home/user/icon.jpg b/modules/home/user/icon.jpg new file mode 100644 index 0000000..50997ba Binary files /dev/null and b/modules/home/user/icon.jpg differ diff --git a/modules/nixos/common/networking/default.nix b/modules/nixos/common/networking/default.nix index 8ee7cc5..03f3c34 100644 --- a/modules/nixos/common/networking/default.nix +++ b/modules/nixos/common/networking/default.nix @@ -1,16 +1,21 @@ { lib, namespace, - config, ... -}: with lib; with lib.${namespace}; +}: let + inherit (lib) mkIf mkEnableOption; cfg = config.${namespace}.common.networking; in { - options.${namespace}.common.networking = { enable = mkEnableOption "networking"; }; + options.${namespace}.common.networking = { + enable = mkEnableOption "Whether to enable networking through NetworkManager."; + }; config = mkIf cfg.enable { - networking.networkmanager.enable = true; + networking.networkmanager = { + enable = true; + wifi.powersave = false; + }; }; }