NOflake/users/tao.nix

162 lines
4 KiB
Nix
Raw Normal View History

2024-02-24 02:30:17 -08:00
{
2025-08-16 16:31:10 -07:00
inputs,
config,
pkgs,
lib,
...
2024-02-24 02:30:17 -08:00
}: {
2025-08-16 16:31:10 -07:00
users.users.tao.packages = with pkgs; [
2025-11-05 00:58:59 -08:00
# keep-sorted start
2025-08-16 16:31:10 -07:00
# boxxy
# carapace
# cloud-hypervisor
# davinci-resolve
# fractal
# freerdp
# inputs.plasma-manager.packages.${pkgs.system}.default
2025-10-16 17:07:43 -07:00
# jellyfin-media-player
2025-08-16 16:31:10 -07:00
# libsForQt5.kcharselect
# piper
# tectonic
# texlab
# thunderbird
# wkhtmltopdf
appimage-run
aspell
aspellDicts.en
bottles
2025-10-16 17:07:43 -07:00
calibre
darktable
2025-08-16 16:31:10 -07:00
deluge
discord
freecad-wayland
gocryptfs
2026-01-03 23:45:03 -08:00
# gurk-rs
2025-10-16 17:07:43 -07:00
jellyfin-mpv-shim
2025-08-16 16:31:10 -07:00
keepassxc
man-pages
man-pages-posix
miniserve
mousai
nix-output-monitor
nixos-anywhere
nufmt
nushell
nvd
obs-studio
oculante
2025-10-31 22:02:09 -07:00
onlyoffice-desktopeditors
2025-10-16 17:07:43 -07:00
openscad
2025-08-16 16:31:10 -07:00
pandoc
pipe-rename
2025-10-16 17:07:43 -07:00
printrun
2025-08-16 16:31:10 -07:00
prusa-slicer
qmk
qmk-udev-rules
qmk_hid
ripgrep-all
signal-desktop
slack
snapper
starship
2025-10-16 17:07:43 -07:00
syncplay
2025-11-25 17:22:05 -08:00
# syncthingtray
2025-08-16 16:31:10 -07:00
taskwarrior3
tinymist
toastify
typst
usbutils
vial
wezterm
wl-clipboard-rs
yt-dlp
zathura
zoom-us
2025-10-16 17:07:43 -07:00
zotero
2025-08-16 16:31:10 -07:00
zoxide
2026-01-03 23:45:03 -08:00
# android-tools
2025-11-05 00:58:59 -08:00
# keep-sorted end
2025-08-16 16:31:10 -07:00
];
2026-01-03 23:45:03 -08:00
virtualisation.waydroid = {
enable = true;
package = pkgs.waydroid-nftables;
2025-11-05 00:58:59 -08:00
};
2025-08-16 16:31:10 -07:00
environment.shells = with pkgs; [nushell];
2024-01-28 19:54:19 -08:00
2025-10-16 17:07:43 -07:00
fonts.packages = with pkgs; [
2025-11-05 00:58:59 -08:00
# keep-sorted start
cooper-hewitt
ibm-plex
2025-10-16 17:07:43 -07:00
nerd-fonts.fira-code
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
2025-11-05 00:58:59 -08:00
# keep-sorted end
2025-10-16 17:07:43 -07:00
];
documentation.enable = true;
2025-08-16 16:31:10 -07:00
# virtualisation.libvirtd.enable = true;
# virtualisation.libvirtd.qemu.swtpm.enable = true;
# virtualisation.spiceUSBRedirection.enable = true;
# programs.virt-manager.enable = true;
2024-02-24 02:50:02 -08:00
2025-08-16 16:31:10 -07:00
# virtualisation.virtualbox.host = {
# enable = true;
# enableExtensionPack = true;
# };
2024-06-26 13:40:11 -07:00
2025-10-20 14:35:48 -07:00
disabledModules = ["services/misc/snapper.nix"];
2025-08-16 16:31:10 -07:00
imports = [../extras/snapper.nix];
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
FSTYPE =
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
then "bcachefs"
else "btrfs";
ALLOW_USERS = ["tao"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = 5;
TIMELINE_LIMIT_DAILY = 7;
};
2024-04-29 13:53:43 -07:00
};
2025-08-16 16:31:10 -07:00
services.snapper.snapshotInterval = "*:0/5";
2024-04-29 13:53:43 -07:00
2025-08-16 16:31:10 -07:00
hardware.keyboard.qmk.enable = true;
services.udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
'';
2025-11-05 03:00:09 -08:00
services.ratbagd.enable = true;
2024-02-27 01:49:46 -08:00
2025-11-05 00:58:59 -08:00
boot = {
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
};
2024-02-19 22:41:58 -08:00
2025-08-16 16:31:10 -07:00
users.users.tao = {
isNormalUser = true;
# hashedPasswordFile = config.age.secrets.password-tao.path;
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
shell = pkgs.nushell;
};
2025-11-05 00:58:59 -08:00
age.secrets = {
syncthing-NOcomputer.file = ../secrets/syncthing-NOcomputer.age;
syncthing-NOlaptop.file = ../secrets/syncthing-NOlaptop.age;
syncthing-uwuraid.file = ../secrets/syncthing-uwuraid.age;
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
backupFileExtension = ".hm-bak";
users.tao = import ./tao/HOME.nix {inherit inputs pkgs lib config;};
};
2023-07-11 00:38:39 -07:00
}