minor tweaks

This commit is contained in:
Tao Tien 2024-04-05 14:18:27 -07:00
parent 422e000821
commit 6e7c6355d2
6 changed files with 38 additions and 45 deletions

View file

@ -6,18 +6,17 @@
... ...
}: { }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# macchina # inputs.helix.packages.${pkgs.system}.default
inputs.agenix.packages.${pkgs.system}.default
bat bat
bottom bottom
cifs-utils cifs-utils
du-dust du-dust
exfatprogs exfatprogs
firefox
ffmpeg ffmpeg
firefox
git git
# inputs.helix.packages.${pkgs.system}.default
helix helix
inputs.agenix.packages.${pkgs.system}.default
localsend localsend
mesa mesa
mpv mpv

View file

@ -57,6 +57,14 @@
KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666" KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666"
''; '';
# boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.kernelModules = ["i2c-dev" "kvm-amd"];
boot.kernelParams = ["nvidia-drm.modeset=1"];
# boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
# boot.blacklistedKernelModules = with config.boot.kernelPackages; [ k10temp ];
fileSystems."/home" = { fileSystems."/home" = {
device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09"; device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09";
fsType = "btrfs"; fsType = "btrfs";
@ -93,14 +101,6 @@
}; };
swapDevices = [{device = "/dev/disk/by-uuid/ca0ed3d7-8758-4ac7-b016-8b4cd9608ded";}]; swapDevices = [{device = "/dev/disk/by-uuid/ca0ed3d7-8758-4ac7-b016-8b4cd9608ded";}];
# boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.kernelModules = ["i2c-dev" "kvm-amd"];
boot.kernelParams = ["nvidia-drm.modeset=1"];
# boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
# boot.blacklistedKernelModules = with config.boot.kernelPackages; [ k10temp ];
# windows can suck my ass # windows can suck my ass
time.hardwareClockInLocalTime = true; time.hardwareClockInLocalTime = true;

View file

@ -1,8 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# prescurve
libinput
powertop
fw-ectool fw-ectool
nvtopPackages.amd nvtopPackages.amd
]; ];

View file

@ -6,25 +6,17 @@
... ...
}: { }: {
users.users.tao.packages = with pkgs; [ users.users.tao.packages = with pkgs; [
inputs.plasma-manager.packages.${pkgs.system}.default
# enchant
# fractal # fractal
# joshuto # kdeconnect
# libftdi # libsForQt5.kcharselect
# libusb
# mendeley # mendeley
# nuspell
# ocs-url
oculante
# onefetch
# slack # slack
# tectonic # tectonic
# texlab # texlab
# tio # tio
# toastify # toastify
vial # virt-manager
# wkhtmltopdf # wkhtmltopdf
# yazi
appimage-run appimage-run
aspell aspell
aspellDicts.en aspellDicts.en
@ -32,18 +24,17 @@
calibre calibre
darktable darktable
deluge deluge
discord
inputs.plasma-manager.packages.${pkgs.system}.default
jellyfin-media-player jellyfin-media-player
jellyfin-mpv-shim jellyfin-mpv-shim
kdePackages.plasma-vault
keepassxc keepassxc
leetcode-cli leetcode-cli
# kdeconnect
# libsForQt5.kcharselect
# libsForQt5.kdeconnect-kde
# libsForQt5.plasma-integration
kdePackages.plasma-vault
miniserve miniserve
nushell nushell
obs-studio obs-studio
oculante
onlyoffice-bin onlyoffice-bin
pandoc pandoc
pipe-rename pipe-rename
@ -60,13 +51,12 @@
typst typst
typst-fmt typst-fmt
typst-lsp typst-lsp
# virt-manager vial
wezterm wezterm
yt-dlp yt-dlp
zathura zathura
zoom-us zoom-us
zoxide zoxide
discord
]; ];
# programs.adb.enable = true; # programs.adb.enable = true;
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
@ -101,23 +91,26 @@
"uwuraid" "uwuraid"
]; ];
in { in {
"sync" = { "documents" = {
path = "/home/tao/sync"; path = "/home/tao/documents";
devices = devs;
};
"school" = {
path = "/home/tao/school";
devices = devs;
};
"projects" = {
path = "/home/tao/projects";
devices = devs; devices = devs;
}; };
"pictures" = { "pictures" = {
path = "/home/tao/pictures"; path = "/home/tao/pictures";
devices = devs; devices = devs;
}; };
# "pictures".path = "/home/tao/pictures"; "projects" = {
path = "/home/tao/projects";
devices = devs;
};
"school" = {
path = "/home/tao/school";
devices = devs;
};
"sync" = {
path = "/home/tao/sync";
devices = devs;
};
}; };
}; };
}; };

View file

@ -50,6 +50,8 @@ in {
enable = true; enable = true;
userName = "Tao Tien"; userName = "Tao Tien";
userEmail = "29749622+taotien@users.noreply.github.com"; userEmail = "29749622+taotien@users.noreply.github.com";
# extraConfig = {
# };
}; };
nushell = { nushell = {
@ -93,13 +95,13 @@ in {
}; };
xdg.userDirs = { xdg.userDirs = {
desktop = null;
documents = "documents"; documents = "documents";
download = "downloads"; download = "downloads";
music = "music"; music = "music";
pictures = "pictures"; pictures = "pictures";
templates = "templates"; templates = "templates";
videos = "videos"; videos = "videos";
desktop = null;
publicShare = null; publicShare = null;
createDirectories = true; createDirectories = true;
enable = true; enable = true;

View file

@ -1,3 +1,5 @@
command_timeout = 1000
format = """ format = """
[](#9A348E)\ [](#9A348E)\
$username\ $username\