diff options
author | tzlil <tzlils@protonmail.com> | 2023-02-09 14:03:19 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-02-09 14:03:19 +0200 |
commit | 566dc1e8f6e619f590f017a810a8a55d9a90a25c (patch) | |
tree | 29ac3794c6b5e1ca07c8a7587c6fb14fb1ddcdb2 /mixins | |
parent | b3b78ca3c15bff46eb913e7f0cfebdac71557eea (diff) |
add website (caddy) config, add mpd, add pc config, remove 9p mount from run.sh, improve greet mixin
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/greet.nix | 2 | ||||
-rw-r--r-- | mixins/mpd.nix | 11 |
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 |