share laptop config
This commit is contained in:
parent
ca0b94d19b
commit
ed45bd9518
3 changed files with 22 additions and 22 deletions
|
@ -6,6 +6,9 @@
|
|||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Shared config of all laptops
|
||||
/data/nixos/share/laptop.nix
|
||||
|
||||
# Shared config of all machines
|
||||
/data/nixos/share/common.nix
|
||||
];
|
||||
|
@ -16,15 +19,4 @@
|
|||
# our hostname
|
||||
networking.hostName = "beta";
|
||||
networking.hostId = "c07bab49";
|
||||
|
||||
# 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";
|
||||
}
|
||||
|
|
14
share/laptop.nix
Normal file
14
share/laptop.nix
Normal 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";
|
||||
}
|
|
@ -5,8 +5,13 @@
|
|||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Include the necessary packages and configuration for Apple Silicon support.
|
||||
./apple-silicon-support
|
||||
|
||||
# Shared config of all laptops
|
||||
/data/nixos/share/laptop.nix
|
||||
|
||||
# Shared config of all machines
|
||||
/data/nixos/share/common.nix
|
||||
];
|
||||
|
@ -17,15 +22,4 @@
|
|||
# our hostname
|
||||
networking.hostName = "zeta";
|
||||
networking.hostId = "cce4e4c1";
|
||||
|
||||
# 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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue