refactor(nixosmodules): move desktop configs to a module

This commit is contained in:
Mohammad Rafiq 2025-05-03 12:59:13 +08:00
parent fc7d95acfd
commit 1a3ef0605b
No known key found for this signature in database
7 changed files with 62 additions and 42 deletions

View file

@ -1,19 +0,0 @@
{ hostname, ... }:
{
home-manager.users.rafiq.services.spotifyd = {
enable = true;
settings = {
global = {
device_name = "${hostname}";
device_type = "computer";
zeroconf_port = 5353;
};
};
};
networking.firewall.allowedTCPPorts = [
5353 # spotifyd
];
networking.firewall.allowedUDPPorts = [
5353 # spotifyd
];
}