Upgrade to nixfmt-rfc-style

This commit is contained in:
2024-09-03 11:38:50 +02:00
parent 0565c43ef9
commit 42b8f67be8
4 changed files with 72 additions and 20 deletions

View File

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

View File

@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with pkgs;

View File

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