This commit is contained in:
Schrottkatze 2023-01-29 13:38:53 +01:00
parent 0ed9538e44
commit 03402ab8cc
3 changed files with 36 additions and 10 deletions

View file

@ -16,6 +16,26 @@ let
ocr-screenshot = pkgs.writeShellScriptBin "ocr-screenshot.sh" (builtins.readFile ../scripts/desktop/ocr-screenshot.sh);
# rofi calculator copied from https://github.com/barbuk/menu-qalc
menu-qalc = pkgs.writeShellScriptBin "menu-qalc" (builtins.readFile ../scripts/desktop/menu-qalc.sh);
#bitw = pkgs.buildGo118Module rec {
#pname = "bitw";
#version = "0.1.0";
#src = pkgs.fetchFromGitHub {
#owner = "mvdan";
#repo = "bitw";
#rev = "9da6ca0287ae8e4b1aa7fcdf7c4e8c2736718c3b";
#sha256 = "sha256-qe9y6BEsfsEiPFXlM/SFliSd+2fnfDMHyw/O6EE5hpA=";
#};
#nativeBuildInputs = with pkgs; [ gitMinimal ];
#doCheck = false;
#vendorHash = "sha256-KQr0DtyH3xzlFwsDl3MGLRRLQC4+EtdTOG7IhmNCzV4=";
#vendorHash = null;
#GOFLAGS = "-mod=readonly";
#proxyVendor = true;
#deleteVendor = true;
#preBuild = ''
#go mod vendor
#'';
#};
in with lib; {
options.jade.desktop = {
enable = mkEnableOption "Enable the i3 setup";
@ -35,6 +55,10 @@ in with lib; {
libqalculate # needed by menu-qalc
ddgr jq # needed by searchwolf
brillo # kb backlight
# pw manager
bitwarden bitwarden-cli
# custom scripts
window-screenshot desktop-ctl em-record em-play em-play-loop ocr-screenshot menu-qalc
pc-get pc-set searchwolf
@ -166,7 +190,7 @@ in with lib; {
# }}}
# Visuals {{{
fonts = {
names = [ "Montserrat" ];
names = [ "Atkinson Hyperlegible" ];
style = "Regular";
size = 9.0;
};
@ -374,11 +398,11 @@ in with lib; {
name = "phinger-cursors";
size = 30;
};
#font = {
#package = pkgs.montserrat;
#name = "Montserrat";
#size = 11;
#};
font = {
package = pkgs.atkinson-hyperlegible;
name = "Atkinson Hyperlegible";
size = 11.5;
};
iconTheme = {
package = pkgs.gruvbox-dark-icons-gtk;
name = "gruvbox-dark-icons";