NOflake/users/tao.nix

107 lines
2.1 KiB
Nix
Raw Normal View History

2023-09-30 22:11:37 -07:00
{ pkgs, ... }: {
2023-07-11 00:38:39 -07:00
users.users.tao.packages = with pkgs; [
2023-11-17 17:42:33 -08:00
calibre
2023-11-12 20:32:59 -08:00
qmk
qmk-udev-rules
2023-11-17 17:42:33 -08:00
# vial
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
2023-07-18 22:14:59 -07:00
# libftdi
# libusb
2023-09-30 22:39:53 -07:00
# mdbook
# nuspell
# partition-manager
2023-09-28 23:33:56 -07:00
# pkg-config
2023-09-30 22:39:53 -07:00
# slack
appimage-run
2023-09-28 23:33:56 -07:00
aspell
aspellDicts.en
2023-11-01 18:58:21 -07:00
birdtray
2023-09-30 22:09:06 -07:00
bottles
2023-09-28 23:33:56 -07:00
darktable
deluge
2023-09-30 22:09:06 -07:00
discord
2023-09-28 23:33:56 -07:00
gh
2023-10-09 17:54:57 -07:00
jellyfin-media-player
jellyfin-mpv-shim
2023-09-28 23:33:56 -07:00
keepassxc
libsForQt5.kcharselect
libsForQt5.kdeconnect-kde
2023-09-30 22:39:53 -07:00
obs-studio
ocs-url
2023-11-01 18:58:21 -07:00
onefetch
2023-09-30 22:39:53 -07:00
onlyoffice-bin
ripgrep-all
snapper
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
2023-09-28 23:33:56 -07:00
tio
typst-lsp
2023-11-01 18:58:21 -07:00
unstable.joshuto
2023-09-30 22:09:06 -07:00
unstable.nushell
2023-09-30 22:39:53 -07:00
unstable.oculante
2023-11-01 18:58:21 -07:00
unstable.pandoc
2023-09-30 22:09:06 -07:00
unstable.prusa-slicer
unstable.starship
2023-09-30 22:39:53 -07:00
unstable.typst
2023-09-30 22:09:06 -07:00
unstable.wezterm
2023-10-09 17:54:57 -07:00
unstable.yazi
2023-07-11 00:38:39 -07:00
virt-manager
2023-09-30 22:39:53 -07:00
zathura
2023-09-30 22:09:06 -07:00
zoom-us
2023-07-11 00:38:39 -07:00
zoxide
];
2023-10-30 14:10:57 -07:00
programs.mosh.enable = true;
2023-09-30 22:09:06 -07:00
environment.shells = with pkgs; [ unstable.nushell ];
2023-11-17 17:42:33 -08:00
# services.udev.extraRules = ''
# KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
# '';
2023-07-23 20:21:08 -07:00
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";
};
2023-07-17 16:41:11 -07:00
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
noto-fonts-cjk
noto-fonts-emoji
];
2023-07-11 00:38:39 -07:00
users.users.tao = {
isNormalUser = true;
2023-10-30 14:10:57 -07:00
extraGroups = [ "video" "wheel" "libvirtd" "dialout" "scanner" "lp" ];
2023-09-30 22:09:06 -07:00
shell = pkgs.unstable.nushell;
2023-07-11 00:38:39 -07:00
};
2023-09-28 23:33:56 -07:00
2023-11-08 16:37:18 -08:00
security.sudo = {
extraRules = [{
commands = [
{
command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows";
options = [ "NOPASSWD" ];
}
];
groups = [ "wheel" ];
}];
};
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 ];
# };
2023-07-11 00:38:39 -07:00
}