diff options
author | Julian T <julian@jtle.dk> | 2021-04-05 16:47:52 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-04-05 16:47:52 +0200 |
commit | 339d729d8d5987f8f0d96c794333a43bac2403cb (patch) | |
tree | f794e5bc88752db0449c113622adddcdaebfd70c /pc_t14.nix | |
parent | d7cfa0310b0c41300e331142a11d4fd1ca97c797 (diff) |
Indentation and move acpilight to thinkpad
Diffstat (limited to 'pc_t14.nix')
-rw-r--r-- | pc_t14.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -8,6 +8,15 @@ interfaces.wlp3s0.useDHCP = true; }; + networking = { + # We want to NAT container traffic + nat = { + enable = true; + internalInterfaces = [ "ve-test" ]; + externalInterface = "wlp3s0"; + }; + }; + boot = { kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.8") pkgs.linuxPackages_5_10; loader = { @@ -50,6 +59,8 @@ environment.systemPackages = with pkgs; [ linuxPackages.acpi_call + + acpilight ]; } |