share laptop config

This commit is contained in:
Christoph Cullmann 2025-07-06 16:09:49 +02:00
parent ca0b94d19b
commit ed45bd9518
No known key found for this signature in database
3 changed files with 22 additions and 22 deletions

14
share/laptop.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
# use NetworkManager, if we have WiFi, allows Plasma to manage connections
# use iwd, only thing that works properly on e.g. Macs
networking.networkmanager.enable = true;
networking.wireless.iwd = {
enable = true;
settings.General.EnableNetworkConfiguration = true;
};
# german laptop keyboard
services.xserver.xkb.layout = "de";
}