Commit c24272139f7f
Changed files (3)
machine
profiles
machine/kobe.nix
@@ -8,6 +8,7 @@
../configuration/users.nix
../profiles/server.nix
../profiles/dockerization.nix
+ ../profiles/avahi.nix
../location/docker.nix
../service/ssh-tunnel.nix
];
profiles/avahi.nix
@@ -0,0 +1,16 @@
+{ configs, pkgs, ...}:
+
+{
+ services = {
+ avahi = {
+ enable = true;
+ ipv4 = true;
+ ipv6 = true;
+ nssmdns = true;
+ publish = {
+ enable = true;
+ userServices = true;
+ };
+ };
+ };
+}
profiles/desktop.nix
@@ -6,6 +6,7 @@
imports = [
./printing.nix
./scanning.nix
+ ./avahi.nix
];
time.timeZone = "Europe/Paris";
@@ -36,16 +37,6 @@
];
hardware.opengl.extraPackages = [ pkgs.vaapiIntel ];
services = {
- avahi = {
- enable = true;
- ipv4 = true;
- ipv6 = true;
- nssmdns = true;
- publish = {
- enable = true;
- userServices = true;
- };
- };
xserver = {
enable = true;
enableTCP = false;