change domain
This commit is contained in:
parent
6a5d2b1dea
commit
f9eb7e8a11
3 changed files with 24 additions and 1 deletions
21
modules/home/services/mpd/default.nix
Normal file
21
modules/home/services/mpd/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.custom; let
|
||||
cfg = config.services.music;
|
||||
in {
|
||||
options.services.music = with types; {
|
||||
enable = mkBoolOpt false "Enable MPD (Music Player Daemon)";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "/home/zoey/Music";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@ in {
|
|||
options.sites.gitlab = with types; {
|
||||
enable = mkBoolOpt false "Enable GitLab";
|
||||
|
||||
domain = mkStringOpt "git.zackster.zip" "Domain for GitLab";
|
||||
domain = mkStringOpt "git.zoeys.computer" "Domain for GitLab";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue