NOflake/users/tao.nix

124 lines
2.5 KiB
Nix
Raw Normal View History

2024-02-24 02:30:17 -08:00
{
inputs,
config,
pkgs,
...
}: {
2023-07-11 00:38:39 -07:00
users.users.tao.packages = with pkgs; [
2024-02-22 11:05:26 -08:00
# birdtray
2023-11-01 18:58:21 -07:00
# cider
2023-09-30 22:39:53 -07:00
# enchant
2023-08-04 04:34:30 -07:00
# expressvpn
2023-07-11 00:38:39 -07:00
# fractal
2024-02-22 11:05:26 -08:00
# gh
2024-02-22 21:46:18 -08:00
joshuto
2023-07-18 22:14:59 -07:00
# libftdi
# libusb
2023-09-30 22:39:53 -07:00
# mdbook
2024-02-22 11:05:26 -08:00
# mendeley
2023-09-30 22:39:53 -07:00
# nuspell
2024-02-22 11:05:26 -08:00
# ocs-url
# oculante
2023-09-30 22:39:53 -07:00
# partition-manager
# slack
2024-02-06 11:15:17 -08:00
# tio
2024-02-22 11:05:26 -08:00
# vial
# wkhtmltopdf
# yazi
2023-09-30 22:39:53 -07:00
appimage-run
2023-09-28 23:33:56 -07:00
aspell
aspellDicts.en
2023-09-30 22:09:06 -07:00
bottles
2024-02-06 11:15:17 -08:00
calibre
2023-09-28 23:33:56 -07:00
darktable
deluge
2023-09-30 22:09:06 -07:00
discord
2024-02-22 21:06:36 -08:00
gpt4all-chat
2023-10-09 17:54:57 -07:00
jellyfin-media-player
2024-01-30 09:32:08 -08:00
jellyfin-mpv-shim
2023-09-28 23:33:56 -07:00
keepassxc
2024-02-06 11:15:17 -08:00
leetcode-cli
2023-09-28 23:33:56 -07:00
libsForQt5.kcharselect
libsForQt5.kdeconnect-kde
2024-02-08 10:10:47 -08:00
libsForQt5.plasma-vault
2024-02-22 11:05:26 -08:00
miniserve
2024-02-06 11:15:17 -08:00
nushell
2023-09-30 22:39:53 -07:00
obs-studio
2024-02-22 21:06:36 -08:00
ollama
2023-11-01 18:58:21 -07:00
onefetch
2023-09-30 22:39:53 -07:00
onlyoffice-bin
2024-02-06 11:15:17 -08:00
pandoc
2024-02-22 11:05:26 -08:00
plasma-integration
2024-02-06 11:15:17 -08:00
prusa-slicer
qmk
qmk-udev-rules
2023-09-30 22:39:53 -07:00
ripgrep-all
snapper
2024-02-06 11:15:17 -08:00
starship
2023-11-01 18:58:21 -07:00
syncthingtray
2023-09-28 23:33:56 -07:00
tectonic
texlab
2023-11-01 18:58:21 -07:00
thunderbird
2024-01-30 09:32:08 -08:00
typst
2024-02-06 11:15:17 -08:00
typst-fmt
typst-lsp
2023-07-11 00:38:39 -07:00
virt-manager
2024-02-06 11:15:17 -08:00
wezterm
2023-09-30 22:39:53 -07:00
zathura
2023-09-30 22:09:06 -07:00
zoom-us
2024-01-30 09:32:08 -08:00
zoxide
2023-07-11 00:38:39 -07:00
];
2024-01-28 19:54:19 -08:00
# programs.adb.enable = true;
2023-10-30 14:10:57 -07:00
programs.mosh.enable = true;
2024-02-24 02:30:17 -08:00
environment.shells = with pkgs; [nushell];
2024-01-28 19:54:19 -08:00
2023-12-25 20:10:20 -08:00
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
'';
2023-11-12 20:32:59 -08:00
hardware.keyboard.qmk.enable = true;
2023-08-04 04:34:30 -07:00
# services.expressvpn.enable = true;
2023-08-04 04:01:36 -07:00
2023-07-20 15:27:53 -07:00
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
2023-07-11 00:38:39 -07:00
services.syncthing = {
enable = true;
user = "tao";
dataDir = "/home/tao/Sync";
configDir = "/home/tao/.config/syncthing";
};
2024-02-19 22:41:58 -08:00
# obs virtual camera
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
2024-01-23 14:19:19 -08:00
fonts.packages = with pkgs; [
2024-02-24 02:30:17 -08:00
(nerdfonts.override {fonts = ["FiraCode"];})
2023-07-17 16:41:11 -07:00
noto-fonts-cjk
2024-01-23 14:19:19 -08:00
noto-fonts-color-emoji
2023-07-17 16:41:11 -07:00
];
2023-07-11 00:38:39 -07:00
users.users.tao = {
isNormalUser = true;
2024-02-24 02:30:17 -08:00
extraGroups = ["video" "wheel" "libvirtd" "dialout" "game"];
2024-01-30 09:32:08 -08:00
shell = pkgs.nushell;
2023-07-11 00:38:39 -07:00
};
2023-09-28 23:33:56 -07:00
# i18n.inputMethod = {
# enabled = "fcitx5";
# fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-chewing fcitx5-chinese-addons fcitx5-rime ];
# };
2024-01-23 19:52:56 -08:00
2024-01-30 10:46:26 -08:00
# home-manager.useUserPackages = false;
2024-02-01 23:01:05 -08:00
home-manager.useGlobalPkgs = true;
2024-01-30 10:46:26 -08:00
home-manager.verbose = true;
home-manager.backupFileExtension = ".hm-bak";
2024-02-24 02:30:17 -08:00
home-manager.users.tao = import ./tao/home.nix {inherit inputs pkgs;};
2023-07-11 00:38:39 -07:00
}