update hm config

This commit is contained in:
Thilo Billerbeck 2023-05-03 00:43:33 +02:00
parent c176c3de53
commit ac3b73217a
5 changed files with 21 additions and 18 deletions

View file

@ -1,7 +1,14 @@
{ config, pkgs, lib, ... }:
let
chromeArgs =
"--force-dark-mode --enable-features=WebUIDarkMode --enable-smooth-scrolling --ozone-platform-hint=auto --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy";
chromeArgs = lib.strings.concatStringsSep " " [
"--force-dark-mode"
"--enable-features=WebUIDarkMode"
"--enable-smooth-scrolling"
"--ozone-platform-hint=auto"
"--ignore-gpu-blocklist"
"--enable-gpu-rasterization"
"--enable-zero-copy"
];
nixgl = import <nixgl> { };
nixGLWrap = pkg:
pkgs.runCommand "${pkg.name}-nixgl-wrapper" { } ''
@ -20,7 +27,8 @@ in {
targets.genericLinux.enable = true;
news.display = "silent";
imports = map (n: "${./programs}/${n}") (builtins.attrNames (builtins.readDir ./programs));
imports = map (n: "${./programs}/${n}")
(builtins.attrNames (builtins.readDir ./programs));
home = {
username = "thilo";
@ -39,8 +47,8 @@ in {
pkgs.devbox
pkgs.tldr
pkgs.flutter
pkgs.direnv
(import (fetchTarball https://github.com/cachix/devenv/archive/v0.6.2.tar.gz)).default
(import (fetchTarball
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default
(pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
})

View file

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

View file

@ -1,7 +1,5 @@
{ config, pkgs, lib, ... }:
{
programs.command-not-found = {
enable = true;
};
programs.command-not-found = { enable = true; };
}

View file

@ -4,6 +4,5 @@
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}

View file

@ -11,7 +11,6 @@ let
"gradle"
"node"
"npm"
"nvm"
"rbenv"
"sudo"
"direnv"
@ -39,16 +38,17 @@ in {
undo-git-reset-head = "git reset 'HEAD@{1}'";
update-local = "bash $HOME/.dotfiles/install";
};
plugins = [{
name = "bun";
file = "completions/bun.zsh";
src = pkgs.bun;
}];
zplug = {
enable = true;
plugins = map (x: {
name = "plugins/${x}";
tags = [ "from:oh-my-zsh" ];
}) omz-plugins ++ [
{
name = "chisui/zsh-nix-shell";
}
];
}) omz-plugins;
};
};
}