flake: add auto formatter
This commit is contained in:
parent
3313416291
commit
eb25c3c32f
4
switch
4
switch
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
nix fmt
|
||||||
|
|
||||||
|
git diff
|
||||||
|
|
||||||
sudo nice ionice \
|
sudo nice ionice \
|
||||||
nixos-rebuild \
|
nixos-rebuild \
|
||||||
switch \
|
switch \
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ config, pkgs, lib, font, ... }:
|
{ config, pkgs, lib, font, ... }:
|
||||||
let inherit (pkgs.uservars) desktop browser;
|
let inherit (pkgs.uservars) desktop browser;
|
||||||
bugfixedFirefox = pkgs.firefox-esr-unwrapped // { requireSigning = false; allowAddonSideload = true; };
|
bugfixedFirefox = pkgs.firefox-esr-unwrapped // { requireSigning = false; allowAddonSideload = true; };
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
config = {
|
config = {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -152,10 +152,12 @@
|
||||||
text-editor = lib.mkDefault "kak.desktop";
|
text-editor = lib.mkDefault "kak.desktop";
|
||||||
image-viewer = lib.mkDefault "pqiv.desktop";
|
image-viewer = lib.mkDefault "pqiv.desktop";
|
||||||
video-player = lib.mkDefault "mpv.desktop";
|
video-player = lib.mkDefault "mpv.desktop";
|
||||||
web-browser = lib.mkDefault ({
|
web-browser = lib.mkDefault (
|
||||||
firefox = lib.mkDefault "firefox.desktop";
|
{
|
||||||
qutebrowser = lib.mkDefault "org.qutebrowser.qutebrowser.desktop";
|
firefox = lib.mkDefault "firefox.desktop";
|
||||||
}.${pkgs.uservars.browser});
|
qutebrowser = lib.mkDefault "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
}.${pkgs.uservars.browser}
|
||||||
|
);
|
||||||
document-viewer = lib.mkDefault "org.pwmt.zathura.desktop";
|
document-viewer = lib.mkDefault "org.pwmt.zathura.desktop";
|
||||||
file-manager = lib.mkDefault "thunar.desktop";
|
file-manager = lib.mkDefault "thunar.desktop";
|
||||||
archive-manager = "engrampa.desktop";
|
archive-manager = "engrampa.desktop";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
config = {
|
config = {
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
cache-pause-initial = true;
|
cache-pause-initial = true;
|
||||||
cache-pause-wait = 10;
|
cache-pause-wait = 10;
|
||||||
|
|
||||||
hwdec="auto";
|
hwdec = "auto";
|
||||||
};
|
};
|
||||||
scripts = with pkgs.mpvScripts; [
|
scripts = with pkgs.mpvScripts; [
|
||||||
mpris
|
mpris
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"pipewire/pipewire.conf.d/99-rtp-sink.conf".text = ''
|
"pipewire/pipewire.conf.d/99-rtp-sink.conf".text = ''
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-rtp-sink
|
{ name = libpipewire-module-rtp-sink
|
||||||
|
|
Loading…
Reference in a new issue