mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-22 17:01:11 +01:00
parent
4fe5afa755
commit
4b702bf6b7
14 changed files with 282 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.ncmpcpp.enable = true;
|
||||
|
||||
services.mpd.enable = true;
|
||||
services.mpd.musicDirectory = "/home/user/music";
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
ncmpcpp = pkgs.writeScriptBin "dummy-ncmpcpp" "";
|
||||
mpd = pkgs.writeScriptBin "dummy-mpd" "";
|
||||
})
|
||||
];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/.config/ncmpcpp/config \
|
||||
${./ncmpcpp-use-mpd-config-expected-config}
|
||||
|
||||
assertPathNotExists home-files/.config/ncmpcpp/bindings
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue