several tweaks

This commit is contained in:
Thilo Billerbeck 2024-02-18 23:04:50 +01:00
parent e7d1eb56b5
commit dfaaca9026
5 changed files with 33 additions and 24 deletions

View file

@ -21,6 +21,7 @@ with lib;
./../programs/chromium.nix
./../programs/mpv.nix
./../programs/syncthing.nix
./../programs/hstr.nix
./../../nix.nix
./packages.nix
];

View file

@ -1,7 +1,9 @@
{ config, pkgs, lib, inputs, ... }:
with lib;
{
let
electronFlags = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --disable-gpu-shader-disk-cache -n";
in {
config = {
nixpkgs.overlays = [
(final: prev: {
@ -15,8 +17,6 @@ with lib;
home.packages = with pkgs; [
up
rbenv
# cargo-update
htop
rustc
cargo
@ -34,7 +34,6 @@ with lib;
nix-init
nodePackages.nodemon
pocketbase
# surrealdb
thefuck
hub
httpie
@ -51,9 +50,6 @@ with lib;
(pkgs.writeShellScriptBin "nix-build-default" ''
nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
'')
(callPackage ./../pkgs/docker-craft-cms-dev-env.nix {
inherit lib;
})
(callPackage ./../pkgs/toggl-time-grouper/package.nix {
inherit lib;
})
@ -74,11 +70,11 @@ with lib;
gh
nil
nixd
unrar
] ++ (if config.machine.isGraphical then [
(pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
})
# anki
corefonts
vistafonts
jetbrains.webstorm
@ -103,12 +99,11 @@ with lib;
bottles
protontricks
heroic
(vscode.fhsWithPackages (ps: with ps; [ sqlite ]))
(vscode.override { commandLineArgs = electronFlags; })
quickemu
quickgui
trilium-desktop
anki
inputs.nix-software-center.packages.x86_64-linux.nix-software-center
inputs.muse-sounds-manager.packages.x86_64-linux.muse-sounds-manager
jetbrains-toolbox
mumble

View file

@ -8,7 +8,7 @@
decorations = "full";
dynamic_title = true;
};
window.opacity = 1;
window.opacity = 0.9;
font = {
normal = {
family = "JetbrainsMono NFM";
@ -18,7 +18,7 @@
family = "JetbrainsMono NFM";
style = "Bold";
};
size = 14;
size = 12;
};
cursor.style.shape = "Beam";
colors = {

View file

@ -19,10 +19,7 @@ let
"bmnlcjabgnpnenekpadlanbbkooimhnj" # Honey
"kbfnbcaeplbcioakkpcpgfkobkghlhen" # Grammarly
];
in
{
programs.vivaldi = {
enable = if config.machine.isGraphical then true else false;
isEnabled = if config.machine.isGraphical then true else false;
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
commandLineArgs = [
"--ignore-gpu-blocklist"
@ -39,5 +36,16 @@ in
id = eid;
})
chromium_extension;
in
{
programs.vivaldi = {
enable = isEnabled;
dictionaries = dictionaries;
commandLineArgs = commandLineArgs;
extensions = extensions;
};
programs.google-chrome = {
enable = isEnabled;
commandLineArgs = commandLineArgs;
};
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, lib, ... }:
{
programs.hstr = { enable = true; };
}