minor adjustmenets
parent
87613bd62a
commit
cb66f2bb4c
|
@ -31,7 +31,7 @@ in {
|
|||
|
||||
# Use a custom configuration.nix location.
|
||||
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
|
||||
# environment.darwinConfig = "$HOME/configs/nix/darwin-configuration.nix";
|
||||
environment.darwinConfig = "/Users/rilla/configs/nix-config/echidna.nix";
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let musicDir = "${config.home.homeDirectory}/Music";
|
||||
in {
|
||||
home.packages = [ pkgs.mpc_cli ];
|
||||
|
||||
programs.ncmpcpp = {
|
||||
|
@ -21,7 +22,7 @@
|
|||
{ key = "ctrl-u"; command = "page_up"; }
|
||||
{ key = "ctrl-d"; command = "page_down"; }
|
||||
];
|
||||
mpdMusicDir = "${config.home.homeDirectory}/music";
|
||||
mpdMusicDir = musicDir;
|
||||
settings = {
|
||||
autocenter_mode = "yes";
|
||||
follow_now_playing_lyrics = "yes";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let musicDir = "${config.home.homeDirectory}/Music";
|
||||
in {
|
||||
imports = [ ./common.nix ];
|
||||
home.packages = [ pkgs.mpc_cli ];
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
musicDirectory = "${config.home.homeDirectory}/music";
|
||||
musicDirectory = musicDir;
|
||||
network = {
|
||||
listenAddress = "any";
|
||||
port = 6600;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
musicDir = "${config.home.homeDirectory}/shared/music";
|
||||
musicDir = "${config.home.homeDirectory}/Music";
|
||||
mpdDir = "${config.home.homeDirectory}/.mpd";
|
||||
in {
|
||||
imports = [ ./common.nix ];
|
||||
|
|
Loading…
Reference in New Issue