ajusted some options

This commit is contained in:
Thilo Billerbeck 2023-07-21 22:50:24 +02:00
parent 45dd334231
commit dea45b282e
6 changed files with 48 additions and 7 deletions

2
dotfiles/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.devenv*
.direnv*

View file

@ -33,6 +33,7 @@
include "/usr/share/nano/*.nanorc" include "/usr/share/nano/*.nanorc"
''; '';
".ssh/config".source = ./../dotfiles/ssh-config; ".ssh/config".source = ./../dotfiles/ssh-config;
".gitignore".source = ./../dotfiles/.gitignore;
}; };
sessionVariables = { sessionVariables = {

View file

@ -27,6 +27,8 @@
vistafonts vistafonts
hub hub
httpie httpie
manix
anki
] ++ [ ] ++ [
(import (fetchTarball (import (fetchTarball
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default "https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default

34
pkgs/spx-gc.nix Normal file
View file

@ -0,0 +1,34 @@
{ lib
, stdenv
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "spx-gc";
version = "1.1.2";
src = fetchFromGitHub {
owner = "TuomoKu";
repo = "SPX-GC";
rev = "v.${version}";
hash = "sha256-NVppqlQOpOmBtsoDVhaIiHzc360ek273rpr2i9p8WK8=";
};
dontNpmBuild = true;
npmDepsHash = "sha256-TGiurf/vwGV1KBxQXl0gVDNeZZWrW1Yku3fhTmh3nhk=";
postInstall = ''
mkdir -p $out/locales
cp -r $src/locales/* $out/locales
'';
meta = with lib; {
description = "SPX is a graphics control client for live video productions and live streams using CasparCG, OBS, vMix, or similar software";
homepage = "https://github.com/TuomoKu/SPX-GC#npminstall";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "spx";
};
}

View file

@ -19,7 +19,7 @@
rerere = { enabled = "1"; }; rerere = { enabled = "1"; };
core = { core = {
whitespace = "fix,-indent-with-non-tab,trailing-space,cr-at-eol"; whitespace = "fix,-indent-with-non-tab,trailing-space,cr-at-eol";
excludesfile = "~/.gitignore-rab"; excludesfile = "~/.gitignore";
autocrlf = "input"; autocrlf = "input";
}; };
apply = { whitespace = "nowarn"; }; apply = { whitespace = "nowarn"; };

View file

@ -4,12 +4,14 @@
programs.topgrade = { programs.topgrade = {
enable = true; enable = true;
settings = { settings = {
assume_yes = true; misc = {
ignore_failures = [ "git_repos" ]; assume_yes = true;
no_retry = true; ignore_failures = [ "git_repos" ];
pre_sudo = false; no_retry = true;
cleanup = true; pre_sudo = false;
skip_notify = true; cleanup = true;
skip_notify = true;
};
firmware = { upgrade = true; }; firmware = { upgrade = true; };
}; };
}; };