summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/greet.nix2
-rw-r--r--mixins/mpd.nix11
2 files changed, 12 insertions, 1 deletions
diff --git a/mixins/greet.nix b/mixins/greet.nix
index 755b7f8..e345d91 100644
--- a/mixins/greet.nix
+++ b/mixins/greet.nix
@@ -16,7 +16,7 @@
 in {
   options.greeter.initialSession = lib.mkOption {
     type = lib.types.str;
-    default = "sh -c sway";
+    default = "sh -c ${pkgs.sway}/bin/sway";
   };
 
   config = {
diff --git a/mixins/mpd.nix b/mixins/mpd.nix
new file mode 100644
index 0000000..3730802
--- /dev/null
+++ b/mixins/mpd.nix
@@ -0,0 +1,11 @@
+{ pkgs, config, ... }:
+
+{
+  home-manager.users.tzlil = {pkgs, ...}@hm: {
+    services = {
+      mpd.enable = true;
+      mpdris2.enable = true;
+    };
+    programs.ncmpcpp.enable = true;
+  };
+}
\ No newline at end of file