This commit is contained in:
Tao Tien 2024-07-22 13:44:57 -07:00
parent 79a2a85bd8
commit acbe48b736
4 changed files with 15 additions and 2 deletions

View file

@ -102,7 +102,8 @@
security.sudo.enable = false; security.sudo.enable = false;
i18n.inputMethod = { i18n.inputMethod = {
enabled = "fcitx5"; enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [ fcitx5.addons = with pkgs; [
fcitx5-gtk fcitx5-gtk
fcitx5-mozc fcitx5-mozc

View file

@ -5,6 +5,7 @@
... ...
}: { }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nvtopPackages.nvidia
# egl-wayland # egl-wayland
# gpt4all-chat # gpt4all-chat
# nvidia-vaapi-driver # nvidia-vaapi-driver

View file

@ -4,6 +4,16 @@
pkgs, pkgs,
... ...
}: { }: {
# boot.kernelPatches = [
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
# {
# name = "cros_ec_lpc";
# patch = pkgs.fetchpatch {
# url = "https://patchwork.kernel.org/series/840830/mbox/";
# sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
# };
# })
# ];
# nixpkgs.overlays = [ # nixpkgs.overlays = [
# (final: prev: { # (final: prev: {
# libinput = prev.libinput.overrideAttrs (old: { # libinput = prev.libinput.overrideAttrs (old: {

View file

@ -49,7 +49,8 @@ def nr [package] {
} }
def rebuild [subcommand] { def rebuild [subcommand] {
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose sudo nix store ping --store ssh://nocomputer
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
} }
# def post-rebuild [] { # def post-rebuild [] {
# # rm -r ~/.config/helix/runtime/grammars/ # # rm -r ~/.config/helix/runtime/grammars/