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, ... }: { config, pkgs, lib, ... }:
let let
chromeArgs = 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"; "--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> { }; nixgl = import <nixgl> { };
nixGLWrap = pkg: nixGLWrap = pkg:
pkgs.runCommand "${pkg.name}-nixgl-wrapper" { } '' pkgs.runCommand "${pkg.name}-nixgl-wrapper" { } ''
@ -20,7 +27,8 @@ in {
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
news.display = "silent"; news.display = "silent";
imports = map (n: "${./programs}/${n}") (builtins.attrNames (builtins.readDir ./programs)); imports = map (n: "${./programs}/${n}")
(builtins.attrNames (builtins.readDir ./programs));
home = { home = {
username = "thilo"; username = "thilo";
@ -39,8 +47,8 @@ in {
pkgs.devbox pkgs.devbox
pkgs.tldr pkgs.tldr
pkgs.flutter pkgs.flutter
pkgs.direnv (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
(pkgs.nerdfonts.override { (pkgs.nerdfonts.override {
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
}) })

View file

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

View file

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

View file

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

View file

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