do something with discord
This commit is contained in:
parent
d57615d964
commit
d7d5390a94
4 changed files with 22 additions and 8 deletions
|
@ -50,6 +50,7 @@
|
|||
inputs.zig.overlays.default
|
||||
inputs.rust-overlay.overlays.default
|
||||
inputs.nh.overlays.default
|
||||
inputs.moonlight.overlays.default
|
||||
|
||||
# https://github.com/LnL7/nix-darwin/issues/1041
|
||||
(_: prev: {
|
||||
|
|
|
@ -18,11 +18,12 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
undoFile.enable = true;
|
||||
|
||||
options = {
|
||||
tabstop = 2;
|
||||
softtabstop = 2;
|
||||
shiftwidth = 2;
|
||||
undofile = true;
|
||||
swapfile = false;
|
||||
showmode = false;
|
||||
foldlevel = 99;
|
||||
|
@ -53,7 +54,6 @@
|
|||
lsp = {
|
||||
# Must be enabled for language modules to hook into the LSP API.
|
||||
enable = true;
|
||||
|
||||
formatOnSave = true;
|
||||
# show errors inline
|
||||
# https://github.com/folke/trouble.nvim
|
||||
|
@ -119,7 +119,7 @@
|
|||
lua.enable = true;
|
||||
# sort-lines: off
|
||||
|
||||
ts.format.enable = false; # deno fmt is enabled elsewhere
|
||||
ts.format.enable = true; # deno fmt is enabled elsewhere
|
||||
nix.format.type = "nixfmt"; # looks so much nicer
|
||||
};
|
||||
formatter.conform-nvim = {
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
in
|
||||
{
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
services.xserver.videoDrivers = [ "nvidia" "amdgpu"];
|
||||
|
||||
nixpkgs.config = {
|
||||
nvidia.acceptLicense = true;
|
||||
|
@ -42,10 +42,21 @@ in
|
|||
modesetting.enable = true;
|
||||
|
||||
powerManagement = {
|
||||
enable = false; # Power management
|
||||
# finegrained = true; # More precise power consumption control
|
||||
enable = true; # Power management
|
||||
finegrained = true; # More precise power consumption control
|
||||
};
|
||||
|
||||
prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
amdgpuBusId = "PCI:15:0:0";
|
||||
|
||||
};
|
||||
|
||||
# Use the NVidia open source kernel module (not to be confused with the
|
||||
# independent third-party "nouveau" open source driver).
|
||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||
|
@ -59,8 +70,8 @@ in
|
|||
|
||||
package = nvidiaDriverChannel;
|
||||
|
||||
#Fixes a glitch
|
||||
nvidiaPersistenced = true;
|
||||
# #Fixes a glitch
|
||||
# nvidiaPersistenced = true;
|
||||
};
|
||||
nvidia-container-toolkit.enable = true;
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ with pkgs;
|
|||
clang
|
||||
cmake
|
||||
gnupg
|
||||
typescript-language-server
|
||||
deno
|
||||
|
||||
#ides
|
||||
zed-editor
|
||||
|
|
Loading…
Reference in a new issue