create avahi module

This commit is contained in:
fleaz 2022-02-20 00:40:00 +01:00
parent 416aa85ba7
commit eee41375d2
3 changed files with 9 additions and 6 deletions

View file

@ -56,12 +56,6 @@ in
networking.networkmanager.enable = true;
programs.nm-applet.enable = true;
services.avahi = {
nssmdns = true;
enable = true;
ipv4 = true;
ipv6 = true;
};
hardware.opengl = {
enable = true;

8
modules/avahi.nix Normal file
View file

@ -0,0 +1,8 @@
{
services.avahi = {
nssmdns = true;
enable = true;
ipv4 = true;
ipv6 = true;
};
}

View file

@ -1,6 +1,7 @@
{
imports = [
../home-manager/default.nix
../modules/avahi.nix
../modules/earlyoom.nix
../modules/fonts.nix
../modules/opengl.nix