refactor(nixos): move system config options to main nixos module
This commit is contained in:
parent
bf63f44875
commit
91c2790b62
20 changed files with 124 additions and 149 deletions
|
@ -22,7 +22,7 @@ in
|
|||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
sunshine_name = config.system.hostname;
|
||||
sunshine_name = config.hostname;
|
||||
origin_web_ui_allowed = "wan";
|
||||
};
|
||||
applications = { };
|
||||
|
@ -35,7 +35,7 @@ in
|
|||
home-manager.sharedModules = singleton {
|
||||
services.spotifyd.enable = true;
|
||||
services.spotifyd.settings.global = {
|
||||
device_name = "${config.system.hostname}";
|
||||
device_name = "${config.hostname}";
|
||||
device_type = "computer";
|
||||
zeroconf_port = 5353;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue