Upgrade to nixfmt-rfc-style
This commit is contained in:
@@ -1,16 +1,25 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
|
||||
let
|
||||
# HACK Replace youtube-dl with yt-dlp in mopidy-youtube
|
||||
mopidy-youtube-yt_dlp = mopidy-youtube.overrideAttrs (old: rec {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs
|
||||
++ [ python3.pkgs.yt-dlp python3.pkgs.ytmusicapi ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
||||
python3.pkgs.yt-dlp
|
||||
python3.pkgs.ytmusicapi
|
||||
];
|
||||
});
|
||||
soundcloud_token = builtins.readFile ../secrets/soundcloud_token;
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
# Configure pipewire as sound server
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
|
||||
|
||||
@@ -1,12 +1,23 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
|
||||
let
|
||||
custom-mpv = (mpv-unwrapped.wrapper {
|
||||
mpv = mpv-unwrapped;
|
||||
scripts = with mpvScripts; [ sponsorblock-minimal mpv-cheatsheet ];
|
||||
});
|
||||
custom-mpv = (
|
||||
mpv-unwrapped.wrapper {
|
||||
mpv = mpv-unwrapped;
|
||||
scripts = with mpvScripts; [
|
||||
sponsorblock-minimal
|
||||
mpv-cheatsheet
|
||||
];
|
||||
}
|
||||
);
|
||||
|
||||
patched-bitwig = bitwig-studio.overrideAttrs (old: rec {
|
||||
src = "${inputs.local-bitwig}/bitwig-studio.deb";
|
||||
@@ -15,7 +26,8 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [
|
||||
# Monitoring
|
||||
htop
|
||||
@@ -102,7 +114,7 @@ in {
|
||||
shellcheck
|
||||
shfmt
|
||||
## Nix
|
||||
nixfmt
|
||||
nixfmt-rfc-style
|
||||
## Python
|
||||
nodePackages.pyright
|
||||
black
|
||||
|
||||
Reference in New Issue
Block a user