aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-19 00:00:21 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-19 00:00:21 -0700
commit2b6aee3bc34679d65b608f7ba2cd17d83cf962f8 (patch)
treedf4b92261cf05824c2bf4f8498f905851b0b08bd
parent5126058d9b362d1e86f7791f6aff521db2852935 (diff)
downloadnix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar.gz
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar.bz2
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar.lz
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar.xz
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.tar.zst
nix-2b6aee3bc34679d65b608f7ba2cd17d83cf962f8.zip
Enable default asterisk service
-rw-r--r--hosts/common/optional/services/asterisk.nix7
-rw-r--r--hosts/darkstar/default.nix1
2 files changed, 8 insertions, 0 deletions
diff --git a/hosts/common/optional/services/asterisk.nix b/hosts/common/optional/services/asterisk.nix
new file mode 100644
index 0000000..a7ac59e
--- /dev/null
+++ b/hosts/common/optional/services/asterisk.nix
@@ -0,0 +1,7 @@
+{
+ services.asterisk = {
+ enable = true;
+ };
+
+ systemd.services.asterisk.wantedBy = lib.mkForce [];
+}
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index 3b9da31..20557b9 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -30,6 +30,7 @@
./hardware-configuration.nix
./services.nix
../common/core
+ ../common/optional/services/asterisk.nix
../common/optional/services/kea.nix
../common/optional/services/nsd.nix
../common/optional/services/openssh.nix