minor adjustmenets

feat/kile-v2
Ricard Illa 2022-01-18 10:58:57 +01:00
parent 87613bd62a
commit cb66f2bb4c
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
4 changed files with 8 additions and 6 deletions

View File

@ -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;

View File

@ -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";

View File

@ -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;

View File

@ -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 ];