Split wifi configuration
This commit is contained in:
parent
4beb23e191
commit
b3416f1f58
4 changed files with 18 additions and 12 deletions
|
@ -1,16 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../wifi.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "Mirkwood";
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
wifi.backend = "iwd";
|
||||
};
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
networking.hostName = "Mirkwood";
|
||||
|
||||
boot.initrd.luks.devices."luks-cf2ca44e-d8d1-4ec8-a072-921f29ed693d".device = "/dev/disk/by-uuid/cf2ca44e-d8d1-4ec8-a072-921f29ed693d";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue