add nvidia driver & monitors
This commit is contained in:
parent
c2f85fddb8
commit
3e6847c1ef
67 changed files with 1773 additions and 101 deletions
|
|
@ -1,9 +1,29 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
graphics.enable = true;
|
||||
|
||||
nvidia.open = false;
|
||||
nvidia.modesetting.enable = true;
|
||||
|
||||
nvidia.powerManagement.enable = true;
|
||||
nvidia.powerManagement.finegrained = true;
|
||||
|
||||
nvidia.nvidiaSettings = true;
|
||||
nvidia.dynamicBoost.enable = true;
|
||||
nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
|
||||
nvidia.prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,10 @@
|
|||
programs.hyprland = { enable = true; };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprsunset
|
||||
hyprshade
|
||||
hyprpaper
|
||||
hyprshot
|
||||
kitty
|
||||
libnotify
|
||||
mako
|
||||
|
|
|
|||
|
|
@ -16,4 +16,16 @@
|
|||
};
|
||||
|
||||
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
rime-data
|
||||
fcitx5-gtk
|
||||
fcitx5-rime
|
||||
fcitx5-chinese-addons
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,32 +2,52 @@
|
|||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Browser
|
||||
firefox
|
||||
opera
|
||||
|
||||
# Utils
|
||||
bat
|
||||
btop
|
||||
eza
|
||||
fzf
|
||||
neofetch
|
||||
ripgrep
|
||||
tldr # Alternative for man
|
||||
wget
|
||||
unzip
|
||||
p7zip
|
||||
zip
|
||||
glxinfo # OpenGL info
|
||||
pciutils # PCI info
|
||||
xdotool # Keyboard input simulation
|
||||
|
||||
# Dev
|
||||
git
|
||||
gnumake
|
||||
lm_sensors
|
||||
libsForQt5.qt5.qtquickcontrols2
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
libsForQt5.qt5.qtsvg
|
||||
neofetch
|
||||
neovim
|
||||
ripgrep
|
||||
tldr
|
||||
unzip
|
||||
openssl
|
||||
openssl.dev
|
||||
pkg-config
|
||||
wget
|
||||
xfce.thunar
|
||||
pkg-config # Include Lib
|
||||
|
||||
# Editor
|
||||
neovim
|
||||
|
||||
# Misc
|
||||
xfce.thunar # File manager
|
||||
|
||||
# Portal
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-wlr
|
||||
zip
|
||||
zoxide
|
||||
|
||||
# Shell
|
||||
zoxide # Dir jumper
|
||||
nushell # Shell
|
||||
starship # Shell theme
|
||||
carapace # Autocomplete
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,5 +13,7 @@
|
|||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ pamixer pavucontrol ];
|
||||
services.playerctld.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [ pavucontrol playerctl ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue