about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-09-22 00:17:41 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-22 00:17:41 +0300
commit6320d4225b087f096268cd99eee2ba3ecfa989a0 (patch)
tree0169dcb41c35afb2b356aaeeabfca8f91864ef85
parent2022-09-20 (diff)
2022-09-22
-rw-r--r--flake.lock18
-rw-r--r--flake.nix5
-rw-r--r--modules/nixfiles/mpd.nix2
3 files changed, 11 insertions, 14 deletions
diff --git a/flake.lock b/flake.lock
index 425a61a..48253ef 100644
--- a/flake.lock
+++ b/flake.lock
@@ -24,18 +24,18 @@
     "azahi-cc": {
       "flake": false,
       "locked": {
-        "lastModified": 1663184812,
-        "narHash": "sha256-iJIqUPeG9R1XghnnT3m0J3vPBZgsw3xkv5hgKnWs3+4=",
-        "owner": "azahi",
-        "repo": "azahi.cc",
-        "rev": "bcb23428a7960c8683d62fe95af2ed737370f63b",
-        "type": "gitlab"
+        "lastModified": 1663794131,
+        "narHash": "sha256-HPgP6ay74LsG0nEERVmbl3l2kBTVqTtzvUyJYQIzJMI=",
+        "ref": "master",
+        "rev": "8179ba2c314bca033e40c117e0fa2d3736be9508",
+        "revCount": 13,
+        "type": "git",
+        "url": "https://git.azahi.cc/azahi-cc"
       },
       "original": {
-        "owner": "azahi",
         "ref": "master",
-        "repo": "azahi.cc",
-        "type": "gitlab"
+        "type": "git",
+        "url": "https://git.azahi.cc/azahi-cc"
       }
     },
     "blobs": {
diff --git a/flake.nix b/flake.nix
index 68f66d2..5a224e1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -193,10 +193,7 @@
     };
 
     azahi-cc = {
-      type = "gitlab";
-      owner = "azahi";
-      repo = "azahi.cc";
-      ref = "master";
+      url = "git+https://git.azahi.cc/azahi-cc?ref=master";
       flake = false;
     };
 
diff --git a/modules/nixfiles/mpd.nix b/modules/nixfiles/mpd.nix
index b2962ab..cc542fe 100644
--- a/modules/nixfiles/mpd.nix
+++ b/modules/nixfiles/mpd.nix
@@ -16,7 +16,7 @@ in {
 
       services.mpd = {
         enable = true;
-
+        musicDirectory = "${config.my.home}/music";
         extraConfig = ''
           restore_paused "yes"
 

Consider giving Nix/NixOS a try! <3