nix: Make nix the root
Which means now I'll have to think about real prefixes in commit names.
This commit is contained in:
parent
550eed06e0
commit
ee178b7d57
190 changed files with 5 additions and 6 deletions
14
os/wireless.nix
Normal file
14
os/wireless.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
# wireless support via wpa_supplicant
|
||||
# TODO This doesn't change anything, at least in the VM
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
networks = builtins.fromJSON (builtins.readFile ./wireless/networks.json); # If this file doesn't exist, run ./wireless/import.py
|
||||
extraConfig = ''
|
||||
country=NL
|
||||
'';
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ wirelesstools ];
|
||||
services.chrony.serverOption = "offline";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue