Compare commits
No commits in common. "0853afd06e871814c2058331ebcc528472760c9a" and "f77f518349d48edb0b507f8b2adf6e25a7839008" have entirely different histories.
0853afd06e
...
f77f518349
|
@ -54,25 +54,37 @@
|
|||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
user = "tacocat";
|
||||
musicDirectory = "/data/music";
|
||||
startWhenNeeded = true;
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire sound server"
|
||||
}
|
||||
'';
|
||||
};
|
||||
systemd.services.mpd.environment = {
|
||||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609
|
||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||
# User-id must match above user. MPD will look inside this directory for
|
||||
# the PipeWire socket.
|
||||
};
|
||||
virtualisation.docker.enable = true;
|
||||
services.udev.packages = [
|
||||
(pkgs.writeTextFile {
|
||||
name = "xilinx-dilligent-usb-udev";
|
||||
destination = "/etc/udev/rules.d/52-xilinx-digilent-usb.rules";
|
||||
text = ''
|
||||
ATTR{idVendor}=="1443", MODE:="666"
|
||||
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666"
|
||||
'';
|
||||
})
|
||||
(pkgs.writeTextFile {
|
||||
name = "xilinx-pcusb-udev";
|
||||
destination = "/etc/udev/rules.d/52-xilinx-pcusb.rules";
|
||||
text = ''
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0008", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0007", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0009", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="000d", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="000f", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0013", MODE="666"
|
||||
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0015", MODE="666"
|
||||
'';
|
||||
})
|
||||
(pkgs.writeTextFile {
|
||||
name = "xilinx-ftdi-usb-udev";
|
||||
destination = "/etc/udev/rules.d/52-xilinx-ftdi-usb.rules";
|
||||
text = ''
|
||||
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666"
|
||||
'';
|
||||
})
|
||||
];
|
||||
services.udev.extraRules = ''
|
||||
# 0d28:0204 DAPLink
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", MODE:="666"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
];
|
||||
packages = with pkgs; [
|
||||
fd
|
||||
mpc-cli
|
||||
texliveFull
|
||||
ripgrep
|
||||
matlab
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
./tiny.nix
|
||||
./radioboat.nix
|
||||
./zoxide.nix
|
||||
./ncmpcpp.nix
|
||||
];
|
||||
|
||||
programs.eza = {
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
{...}: {
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
mpdMusicDir = "/data/music";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue