Commit a6a2438d62ae
Changed files (3)
machine
profiles
machine/wakasu.nix
@@ -10,6 +10,7 @@
../profiles/dev.nix
../profiles/dockerization.nix
../profiles/virtualization.nix
+ ../profiles/wireguard.nix
../location/docker.nix
../location/home.nix
../hardware/thinkpad-t460s.nix
profiles/avahi.nix
@@ -1,16 +1,16 @@
-{ configs, pkgs, ...}:
+{ configs, pkgs, ... }:
{
- services = {
- avahi = {
- enable = true;
- ipv4 = true;
- ipv6 = true;
- nssmdns = true;
- publish = {
- enable = true;
- userServices = true;
- };
- };
- };
+ services = {
+ avahi = {
+ enable = true;
+ ipv4 = true;
+ ipv6 = true;
+ nssmdns = true;
+ publish = {
+ enable = true;
+ userServices = true;
+ };
+ };
+ };
}
profiles/wireguard.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }:
+
+{
+ boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
+ environment.systemPackages = [ pkgs.wireguard ];
+}