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