From 566dc1e8f6e619f590f017a810a8a55d9a90a25c Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 9 Feb 2023 14:03:19 +0200 Subject: add website (caddy) config, add mpd, add pc config, remove 9p mount from run.sh, improve greet mixin --- mixins/greet.nix | 2 +- mixins/mpd.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 mixins/mpd.nix (limited to 'mixins') 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 -- cgit 1.4.1